From 18afdc2050e6c91d77644ac11c036d0470218019 Mon Sep 17 00:00:00 2001
From: Elias Chetouane <elias.chetouane@univ-grenoble-alpes.fr>
Date: Mon, 19 Feb 2024 16:20:12 +0100
Subject: [PATCH] Test pour push nb-dois.txt vers le 2e repo.

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b0eb062..f3741fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,6 +25,8 @@ actualisation_dois:
     - git clone ${LINK_TO_CLONE}
     - cp 1-enrich-with-datacite/nb-dois.txt ${PATH_TO_PUSH}
     - cd ${PATH_TO_PUSH}
+    - git config user.name "${GITLAB_USER_NAME}"
+    - git config user.email "${GITLAB_USER_EMAIL}"
     - git remote set-url --push origin "https://PUSH_TOKEN:${ACCESS_TOKEN2}@gricad-gitlab.univ-grenoble-alpes.fr/${PROJECT_PATH2}.git"
     - git add -f nb-dois.txt
     - git commit -m "Execution du pipeline. Actualisation du nombre de dois."
-- 
GitLab