Skip to content

Update gist

Update gist #10464

Workflow file for this run

name: Update gist
on:
schedule:
- cron: "0 * * * *"
jobs:
update-gist:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Set up Python
uses: actions/setup-python@main
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Update gist
env:
HOYO_UID: ${{ secrets.HOYO_UID }}
HOYO_TOKEN: ${{ secrets.HOYO_TOKEN }}
HOYO_TMID: ${{ secrets.HOYO_TMID }}
GAME_CODE: ${{ secrets.GAME_CODE }}
GIST_ID: ${{ secrets.GIST_ID }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: python main.py