11name : Data Processing
22
3+ # This workflow is triggered daily at midnight and can also be manually triggered.
4+ # It processes data from various scripts and uploads the processed data as an artifact.
5+ # The data is used to update the website's content.
6+
37on :
48 schedule :
59 - cron : ' 0 0 * * *' # Daily at midnight
@@ -27,17 +31,15 @@ jobs:
2731 run : python3 -m pip install -r ./requirements.txt
2832
2933 - name : Run Tenzing script
34+ continue-on-error : true # Continue even if this step fails
3035 run : python3 scripts/forrt_contribs/tenzing.py
3136
32- - name : Run Google Scholar script
33- run : python3 scripts/gs-cite/google_scholar.py
34- env :
35- SERPAI : ${{ secrets.SERPAPI }}
36-
3737 - name : Run Curated Resources script
38+ continue-on-error : true # Continue even if this step fails
3839 run : python3 content/resources/resource.py
3940
4041 - name : Move and validate Tenzing output
42+ continue-on-error : true # Continue even if this step fails
4143 run : |
4244 mv scripts/forrt_contribs/tenzing.md content/contributors/tenzing.md
4345 if [ ! -f content/contributors/tenzing.md ]; then
4648 fi
4749
4850 - name : Validate curated resources
51+ continue-on-error : true # Continue even if this step fails
4952 run : |
5053 for file in content/curated_resources/*; do
5154 if [ ! -f "$file" ]; then
@@ -55,11 +58,18 @@ jobs:
5558 done
5659
5760 - name : Download GA Data
61+ continue-on-error : true # Continue even if this step fails
5862 env :
5963 GA_API_CREDENTIALS : ${{ secrets.GA_API_CREDENTIALS }}
6064 GA_PROPERTY_ID : ${{ secrets.GA_PROPERTY_ID }}
6165 run : python scripts/download_ga_data.py
6266
67+ - name : Run Google Scholar script
68+ continue-on-error : true # Continue even if this step fails
69+ run : python3 scripts/gs-cite/google_scholar.py
70+ env :
71+ SERPAI : ${{ secrets.SERPAPI }}
72+
6373 - name : Upload data artifact
6474 uses : actions/upload-artifact@v4
6575 with :
0 commit comments