Skip to content

Update gist with daily trivia #1089

Update gist with daily trivia

Update gist with daily trivia #1089

Workflow file for this run

name: Update gist with daily trivia
on:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: "0 1 * * *" # Run at 1:00 AM every day
jobs:
update-gist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Update gist
run: python main.py
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: 'ef9d16e87e0458fff84bf42c4e05894b'