update-cache #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update-cache | |
on: | |
schedule: | |
- cron: "30 2 * * 1" | |
push: | |
branches: | |
- main | |
jobs: | |
update-cache: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: | | |
git config --global user.name 'L-CAS GitHub' | |
git config --global user.email '[email protected]' | |
- run: | | |
python3 lcas-bib-export-generator.py | |
git add -f *.bib *.rss *.html | |
git commit -m "automated commit" | |
git push | |