Skip to content

Update Competition Ranking #13

Update Competition Ranking

Update Competition Ranking #13

Workflow file for this run

name: Update Competition Ranking
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setting up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install requirements
run: pip install -r requirements.txt
- name: Run
run: |
python competition_ranking.py
git config user.name Github Action
git config user.email [email protected]
git add competition_ranking.csv
timestamp=$(date -u)
git commit -m "update competition ranking data: ${timestamp}" || exit 0
git push