Update .gitlab-ci.yml file
This commit is contained in:
parent
5f914c2669
commit
222b77a1de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user