Skip to content
Snippets Groups Projects
Commit 7138f95e authored by CANÉVET Cindy's avatar CANÉVET Cindy
Browse files

Refactoring de la mise à jour des stats

parent b91d8115
No related branches found
No related tags found
1 merge request!11Feature/refactoring
......@@ -138,7 +138,7 @@ update_stats:
script:
- 'curl --header "$JOB_HEADER: $CI_JOB_TOKEN" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/stats/latest/numeco-ecologiegouv.db" -O'
- pip install humanize
- python analyser_stats/update_stats.py
- python update/update_stats.py
- 'if [ -z "$DEBUG" ]; then curl --header "$JOB_HEADER: $CI_JOB_TOKEN" --upload-file numeco-ecologiegouv.db "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/stats/latest/numeco-ecologiegouv.db"; fi'
artifacts:
paths:
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment