diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3ae1f41bcee5e31ae3d5e64dc2c44dc469168fd..688569403fd1a8fbc8839d792a9b7646575ecd24 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ pages: - apt-get update && apt-get install -y git - git config user.name $GITLAB_USER_NAME - git config user.email $GITLAB_USER_EMAIL - - git fetch origin $PAGES_BRANCH && git -b checkout $PAGES_BRANCH origin/$PAGES_BRANCH || git checkout $PAGES_BRANCH || echo "Pages branch not deployed yet." + - git fetch origin $PAGES_BRANCH && git checkout -b $PAGES_BRANCH origin/$PAGES_BRANCH || git checkout $PAGES_BRANCH || echo "Pages branch not deployed yet." - git checkout $CI_COMMIT_SHA script: - >