diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1963e4cab7eb8d03e427b60a12f5af629ef4e4af..b2b6d0d4654188254d554c2faa28025b9687429a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,7 @@ pages:
   before_script:
     - pip install -q mkdocs-material mike
     - apt-get update -qq && apt-get -qq install -y git > /dev/null
-    - git config --global --replace-all user.name $GITLAB_USER_NAME
+    - git config --global --replace-all user.name $GITLAB_USER_LOGIN
     - git config --global --replace-all user.email $GITLAB_USER_EMAIL
     - git fetch origin $PAGES_BRANCH && git checkout $PAGES_BRANCH || git checkout -b $PAGES_BRANCH origin/$PAGES_BRANCH || echo "Pages branch not deployed yet."
     - git checkout $CI_COMMIT_SHA