From 07fd21a37e2d85c922bc44ee01b922031157ea07 Mon Sep 17 00:00:00 2001
From: Elias Chetouane <elias.chetouane@univ-grenoble-alpes.fr>
Date: Mon, 19 Feb 2024 17:35:44 +0100
Subject: [PATCH] Test pour push vers repo 2.

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c6d69f..8205390 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,7 @@ actualisation_dois:
     - pip install matplotlib
     - python run-all-codes.py
   after_script:
+    - pwd
     - git config user.name "${GITLAB_USER_NAME}"
     - git config user.email "${GITLAB_USER_EMAIL}"
     - git remote set-url --push origin "https://PUSH_TOKEN:${ACCESS_TOKEN}@gricad-gitlab.univ-grenoble-alpes.fr/${CI_PROJECT_PATH}.git"
@@ -23,13 +24,19 @@ actualisation_dois:
     - git push origin HEAD:$CI_COMMIT_REF_NAME
 
     - git clone ${LINK_TO_CLONE}
+    - ls
+    - pwd
     - cp 1-enrich-with-datacite/nb-dois.txt ${PATH_TO_PUSH}
     - cd ${PATH_TO_PUSH}
+    - pwd
+    - ls
     - git config user.name "${GITLAB_USER_NAME}"
     - git config user.email "${GITLAB_USER_EMAIL}"
     - git remote set-url --push origin "https://PUSH_TOKEN2:${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."
+    - git remote -v
+    - git status
     - git push origin HEAD:main
   
   artifacts:
-- 
GitLab