diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76c5858d0d1666066e7cb1fa292cc7ccdfcba106..e4843cde11af0425b5fe0f18dae72ccebf1e82e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,8 @@ pages: before_script: - pip install -q mkdocs-material mike - apt-get update -qq && apt-get -qq install -y git > /dev/null - - git config user.name $GITLAB_USER_NAME - - git config user.email $GITLAB_USER_EMAIL + - git config --global --replace-all user.name $GITLAB_USER_NAME + - 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 script: