Update .gitlab-ci.yml file

This commit is contained in:
Denys Konovalov 2022-03-20 16:41:21 +00:00
parent dbe8900fb2
commit 2462c7b91e

View File

@ -15,7 +15,7 @@ deploy_website:
- 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
- cp -r public/* /tmp/gh-pages
- cd /tmp/gh-pages
- git add .
- git commit -m "$CI_COMMIT_MESSAGE"