Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Sep 20, 2024
1 parent 24c8c70 commit 393fe6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/monthly_reporting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
- name: Install dependencies
run: pip install requests==2.32.3 python-dateutil==2.9.0.post0
- name: Download script
run: curl -O https://raw.githubusercontent.com/openzim/zimfarm/refs/heads/main/dispatcher/backend/maint-scripts/monthly_report_tasks.py
run: curl -O https://raw.githubusercontent.com/openzim/zimfarm/refs/heads/test_bbe/dispatcher/backend/maint-scripts/monthly_report_tasks.py
- name: Create report
run: ZF_URI="https://api.farm.zimit.kiwix.org/v1" FILE_PREFIX="farm.zimit.kiwix.org_tasks_" python monthly_report_tasks.py --
- name: List files
run: ls -lah *.csv
- name: Upload report
run: curl -u "${{ secrets.ZIMIT_DRIVE_WEBDAV_CREDENTIALS }}" -T "farm.zimit.kiwix.org_tasks_*.csv" -sw '%{http_code}' "https://drive.zimit.kiwix.org/reports/"
run: curl -u "${{ secrets.ZIMIT_DRIVE_WEBDAV_CREDENTIALS }}" -T farm.zimit.kiwix.org_tasks_*.csv -sw '%{http_code}' "https://drive.zimit.kiwix.org/reports/"

0 comments on commit 393fe6e

Please sign in to comment.