Skip to content

Fetch the data

Fetch the data #29

Workflow file for this run

name: Fetch the data
on:
workflow_dispatch:
schedule:
- cron: '0 1 1 * *' # 1AM every 1st of the month
jobs:
scrape:
name: Fetch the data
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Fetch the data
run: python run.py
- name: Commit and push
run: |
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git config --global user.name 'github-actions[bot]'
git add .
git commit -m 'Update the data' || echo "Nothing to commit"
git push