Skip to content
Snippets Groups Projects
Commit c6261e02 authored by Rémi PAILHAREY's avatar Rémi PAILHAREY :fork_knife_plate:
Browse files

ci: use factory group build token

parent 4d841148
No related branches found
No related tags found
1 merge request!12413.1 Release
......@@ -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:
......
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