From 222b77a1de06b196d5e6e365c267c470cb279866 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 20 Mar 2022 16:40:35 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ef51e5f..85fcb5bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ deploy_website: - git config --global user.email "denys.konovalov@protonmail.com" script: - hugo --gc --minify --cleanDestinationDir - - git clone --depth=1 --single-branch --branch "${INPUT_BRANCH}" "https://x-access-token:$TOKEN@gitlab.cantorgymnasium.de/cantortechnik/website-build.git" /tmp/gh-pages + - git clone --depth=1 --single-branch --branch main "https://x-access-token:$TOKEN@gitlab.cantorgymnasium.de/cantortechnik/website-build.git" /tmp/gh-pages - rm -rf /tmp/gh-pages/* - export OLD_PATH=$PWD - cp public/* /tmp/gh-pages