File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Update Google Scholar Citations
33on :
44 schedule :
55 # Run weekly on Sunday at 12:00 AM UTC
6- - cron : ' 0 0 * * 0'
7- workflow_dispatch : # Allow manual triggering
6+ - cron : " 0 0 * * 0"
7+ workflow_dispatch : # Allow manual triggering
88
99jobs :
1010 update-citations :
@@ -16,23 +16,20 @@ jobs:
1616 - name : Set up Python
1717 uses : actions/setup-python@v4
1818 with :
19- python-version : ' 3.10'
20-
19+ python-version : " 3.10"
20+
2121 - name : Install dependencies
2222 run : |
2323 python -m pip install --upgrade pip
24- pip install -r requirements.txt
25- pip install scholarly
26-
2724 - name : Run citation update script
2825 run : |
2926 python bin/update_scholar_citations.py
30-
27+
3128 - name : Configure Git
3229 run : |
3330 git config --local user.email "actions@github.com"
3431 git config --local user.name "GitHub Actions"
35-
32+
3633 - name : Commit and push if changed
3734 run : |
3835 git add _data/citations.yml
You can’t perform that action at this time.
0 commit comments