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"
|
- git config --global user.email "denys.konovalov@protonmail.com"
|
||||||
script:
|
script:
|
||||||
- hugo --gc --minify --cleanDestinationDir
|
- 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/*
|
- rm -rf /tmp/gh-pages/*
|
||||||
- export OLD_PATH=$PWD
|
- export OLD_PATH=$PWD
|
||||||
- cp public/* /tmp/gh-pages
|
- cp public/* /tmp/gh-pages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user