From 17b69f7884ebbe3de9c1f6f96b927fa864a535f6 Mon Sep 17 00:00:00 2001 From: Chetouane <elias.chetouane@univ-grenoble-alpes.fr> Date: Tue, 16 Jan 2024 12:51:46 +0100 Subject: [PATCH] Installation de git sur le runner + ajout de la partie concernant le push dans "after_script" --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1bb3069..30379b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,10 +2,12 @@ image: python:3-alpine build-dois-csv: script: + - apt-get install -y git - pip install pandas - pip install requests - pip install matplotlib - python run-all-codes.py + after_script: - git remote set-url --push origin git@gricad-gitlab:$CI_PROJECT_PATH - git add -f dois-uga.csv - git commit -m "Nouvelle version du csv" -- GitLab