Commit ff4b353d authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

use single user always

parent e9a61dca
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -8,8 +8,8 @@ pages:
  before_script:
  before_script:
    - pip install -q mkdocs-material mike
    - pip install -q mkdocs-material mike
    - apt-get update -qq && apt-get -qq install -y git > /dev/null
    - apt-get update -qq && apt-get -qq install -y git > /dev/null
    - git config user.name $GITLAB_USER_NAME
    - git config --global --replace-all user.name $GITLAB_USER_NAME
    - git config user.email $GITLAB_USER_EMAIL
    - 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 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
    - git checkout $CI_COMMIT_SHA
  script:
  script: