From b12a5c66acaffb9795429fe53703fb0969c8f875 Mon Sep 17 00:00:00 2001
From: Chetouane <elias.chetouane@univ-grenoble-alpes.fr>
Date: Fri, 19 Jan 2024 11:56:47 +0100
Subject: [PATCH] =?UTF-8?q?Ajout=20de=20condition=20d'ex=C3=A9cution=20pou?=
 =?UTF-8?q?r=20d=C3=A9clencher=20le=20pipeline=20uniquement=201=20fois=20p?=
 =?UTF-8?q?ar=20semaine=20et=20non=20=C3=A0=20chaque=20commit.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36b591f..9350758 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,8 @@
 image: python:3-alpine
 
 build-dois-csv:
+  only:
+    - schedules
   before_script:
     - apk update
     - apk add git openssh
@@ -12,7 +14,7 @@ build-dois-csv:
   after_script:
     - git config user.name "${GITLAB_USER_NAME}"
     - git config user.email "${GITLAB_USER_EMAIL}"
-    - git remote set-url --push origin "https://WRITE_ACCESS:${ACCESS_TOKEN}@gricad-gitlab.univ-grenoble-alpes.fr${CI_PROJECT_PATH}.git"
+    - git remote set-url --push origin "https://WRITE_ACCESS:${ACCESS_TOKEN}@gricad-gitlab.univ-grenoble-alpes.fr/${CI_PROJECT_PATH}.git"
     - git add -f dois-uga.csv 2-produce-graph/hist-evol-datasets-per-repo.png 2-produce-graph/hist-quantity-year-type.png 2-produce-graph/pie--datacite-client.png 2-produce-graph/pie--datacite-type.png
     - git commit -m "Nouvelle execution du pipeline"
     - git push origin HEAD:$CI_COMMIT_REF_NAME
-- 
GitLab