Skip to content

Update Submission Progress #78

Update Submission Progress

Update Submission Progress #78

Workflow file for this run

name: Update Submission Progress
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
workflow_dispatch: # This allows manual triggering
jobs:
update-progress:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Required Packages
run: |
python -m pip install --upgrade pip
pip install matplotlib
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "sliming-ai"
- name: Run Update Script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python update.py
git add README.md
now=$(date)
git commit -m "Update submission progress on $now"
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/sliming-ai/sliming-ai.github.io.git HEAD:main