diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c958e5a33f480bdefe211f6729976a2880d550cf..da5d71dc822fe297cc221c60d17441e8d7435c47 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: - >