Skip to content

Commit a88dee9

Browse files
Update update-citations.yml
1 parent 2069c27 commit a88dee9

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/update-citations.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Update Google Scholar Citations
33
on:
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

99
jobs:
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

0 commit comments

Comments
 (0)