diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df52976c0441a09164bc0a9688f0d2c05d82e506..e3bc1080a4cf5d0b4958de948ac175d142666607 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -156,11 +156,11 @@ deploy-dev: - apk add bash script: - yarn - - git config --global user.name build-pipeline - - git config --global user.email "$GIT_USER" - - git config --global user.password "$GIT_PWD" - - git config user.email "$GIT_USER" - - git remote set-url origin https://"$GIT_USER":"$GIT_PWD"@forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo.git + - git config --global user.name build-token + - git config --global user.email build-token + - git config --global user.password "$BUILD_TOKEN" + - git config user.email build-token + - git remote set-url origin https://build-token:"$BUILD_TOKEN"@forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo.git - git config --global credential.helper store - yarn deploy-dev only: @@ -178,11 +178,11 @@ deploy-test: script: - yarn - ls build - - git config --global user.name build-pipeline - - git config --global user.email "$GIT_USER" - - git config --global user.password "$GIT_PWD" - - git config user.email "$GIT_USER" - - git remote set-url origin https://"$GIT_USER":"$GIT_PWD"@forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo.git + - git config --global user.name build-token + - git config --global user.email build-token + - git config --global user.password "$BUILD_TOKEN" + - git config user.email build-token + - git remote set-url origin https://build-token:"$BUILD_TOKEN"@forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo.git - git config --global credential.helper store - yarn deploy-test only: