diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e48fc2283f4ae6c49fe06f659beb1f9fb7099d4..b3c42eb39e07fce541cba54f23e0ddb1c90714b8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,8 +30,9 @@ actualisation_dois:
     - git push origin HEAD:${CI_COMMIT_REF_NAME}
 
     # création d'un espace accueillant le clone du repo du site web, et tests au cas où l'espace existe déjà
-    - if ! [ -d "../cloned_repo" ]; then mkdir ../cloned_repo; fi
-    - if [ -d "../cloned_repo/${PATH_TO_PUSH}" ]; then cd ../cloned_repo/${PATH_TO_PUSH}; git pull; else cd ../cloned_repo; git clone ${LINK_TO_CLONE}; fi
+    - cd ..
+    - if ! [ -d "cloned_repo" ]; then mkdir ../cloned_repo; fi
+    - if [ -d "cloned_repo/${PATH_TO_PUSH}" ]; then cd cloned_repo/${PATH_TO_PUSH}; git pull; else cd cloned_repo; git clone ${LINK_TO_CLONE}; fi
     - 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}