Skip to content

Save latest data

Save latest data #534

Workflow file for this run

name: Save latest data
on:
schedule:
- cron: 50 16 * * 1-5
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11
- run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- run: python main.py
- run: |
git config user.email "actions@github.com"
git config user.name "GitHub Actions"
git add output/*
git commit -am "Update latest [skip ci]"
- uses: ad-m/github-push-action@master
with:
branch: ${{ github.head_ref }}