From eab8dcf1642f34a379b01a1241fbc66ed4ea4be0 Mon Sep 17 00:00:00 2001 From: Dimitrios Giannopoulos Date: Mon, 22 Jan 2024 19:42:53 +0000 Subject: [PATCH] syntax fix --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c958e5a3..da5d71dc 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: - > -- GitLab