From 70cec2582d8cbcd02e3639a85976fcc804b94084 Mon Sep 17 00:00:00 2001 From: Christophe Benz <christophe.benz@cepremap.org> Date: Wed, 18 Jul 2018 13:03:42 +0200 Subject: [PATCH] Update Gitlab CI --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c2f27a..f603865 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,16 +43,16 @@ job: - | if [ "${JOB}" == "download" ]; then cd ${FETCHER_ENV_DIR}/${PROVIDER_SLUG}-source-data - #git pull - #time python3 ${CI_PROJECT_DIR}/download.py . - #time git add -A - #time git commit -m "New download" --quiet || true + time git pull + time python3 ${CI_PROJECT_DIR}/download.py . + time git add -A + time git commit -m "New download" --quiet || true time git push fi - | if [ "${JOB}" == "convert" ]; then cd ${FETCHER_ENV_DIR}/${PROVIDER_SLUG}-json-data - git pull + time git pull cd .. time python3 ${CI_PROJECT_DIR}/convert.py ${PROVIDER_SLUG}-source-data ${PROVIDER_SLUG}-json-data --sqlite-dir sqlite -- GitLab