diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 09a56b80aa0e77f2e255b439021010a9be18f02c..2d72cfe1adb7e9699bd9bd8147b1879e00ba3398 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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: