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

ci: use factory group build token

parent a9e16447
No related branches found
No related tags found
1 merge request!64Merge dev into main
Pipeline #106017 passed
......@@ -48,10 +48,10 @@ build-dev:
- yarn
- yarn build
- git config --global user.name build-token
- 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/enedis-sge-konnector.git
- 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/enedis-sge-konnector.git
- git config --global credential.helper store
- yarn deploy-dev
only:
......@@ -67,10 +67,10 @@ build:
- yarn
- yarn build
- git config --global user.name build-token
- 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/enedis-sge-konnector.git
- 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/enedis-sge-konnector.git
- git config --global credential.helper store
- yarn deploy
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