Skip to content
Snippets Groups Projects
Commit b291ffb8 authored by Elias Chetouane's avatar Elias Chetouane
Browse files

Ajout du clone avec création d'un dossier pour contenir le repo cloné.

parent 26468b02
No related branches found
No related tags found
No related merge requests found
Pipeline #173530 passed
......@@ -23,8 +23,12 @@ actualisation_dois:
- git push origin HEAD:${CI_COMMIT_REF_NAME}
- cd ..
- cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt ${PATH_TO_PUSH}
- cd ${PATH_TO_PUSH}
- mkdir cloned_repo
- cd cloned_repo
- git clone ${LINK_TO_CLONE}
- cd -
- cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt cloned_repo/${PATH_TO_PUSH}
- cd cloned_repo/${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_TOKEN2:${ACCESS_TOKEN2}@gricad-gitlab.univ-grenoble-alpes.fr/${PROJECT_PATH2}.git"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment