diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eef785ea5bd569c838901c3f2c8964148229a941..ebc34112178ad44d961803d8ba96cc246455da41 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,6 @@ actualisation_dois: - apk update - apk add git openssh script: - - date > 1-enrich-with-datacite/nb-dois.txt - pip install pandas - pip install requests - pip install matplotlib @@ -23,15 +22,9 @@ actualisation_dois: - git commit -m "Execution du pipeline. Actualisation des dois et des graphes." - git push origin HEAD:${CI_COMMIT_REF_NAME} - - pwd - cd .. - - ls - - mkdir /build2 - - cd /build2 - - git clone ${LINK_TO_CLONE} - - cd - - - cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt /build2/${PATH_TO_PUSH} - - cd /build2/${PATH_TO_PUSH} + - cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt ${PATH_TO_PUSH} + - cd ${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"