From 07805c5b88aa93794a46c43d93999317a93326de Mon Sep 17 00:00:00 2001 From: Elias Chetouane <elias.chetouane@univ-grenoble-alpes.fr> Date: Fri, 23 Feb 2024 11:17:58 +0100 Subject: [PATCH] =?UTF-8?q?Redirection=20des=20erreurs=20li=C3=A9=C3=A9es?= =?UTF-8?q?=20au=20clone=20sur=20la=20sortie=20standard=20pour=20continuer?= =?UTF-8?q?=20le=20job.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 336194a..3601307 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,9 +31,10 @@ actualisation_dois: # création d'un espace accueillant le clone du repo du site web - cd .. - - mkdir cloned_repo + - mkdir cloned_repo 2>&1 - cd cloned_repo - - git clone ${LINK_TO_CLONE} + - git clone ${LINK_TO_CLONE} 2>&1 + - git pull - cd - # copier le fichier "nb-dois.txt" pour commit dans le repo du site web - cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt cloned_repo/${PATH_TO_PUSH} -- GitLab