Skip to content

update

update #480

name: update
on:
schedule:
- cron: '0 */3 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.MY_PAT }}
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install aiohttp
- working-directory: ./source
run: python parser.py
- run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
git add deploy/ README.md
git commit -m "update $(date +'%Y-%m-%d')" || exit 0
git push