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

Test pour push vers repo 2.

parent 101438c1
No related branches found
No related tags found
No related merge requests found
Pipeline #173380 passed
......@@ -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:
......
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