:) ???????????????????
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
PapaTutuWawa 2024-01-05 19:26:29 +01:00
parent 52d95552dd
commit dc9ec27c3a

View File

@ -15,10 +15,9 @@ steps:
- git config --global user.email "ci@polynom.me" - git config --global user.email "ci@polynom.me"
- git config --global user.name "polynom.me CI system" - git config --global user.name "polynom.me CI system"
- git config --global --add safe.directory $CI_WORKSPACE/$CI_REPO_OWNER/$CI_REPO_NAME/deploy - git config --global --add safe.directory $CI_WORKSPACE/$CI_REPO_OWNER/$CI_REPO_NAME/deploy
- git clone -b pages $CI_REPO_CLONE_URL deploy - git init -b pages public
- cd deploy - cd public
- git remote set-url origin https://$GIT_PUSH_TOKEN@git.polynom.me/$CI_REPO_OWNER/$CI_REPO_NAME.git - git remote set-url origin https://$GIT_PUSH_TOKEN@git.polynom.me/$CI_REPO_OWNER/$CI_REPO_NAME.git
- cp -rf ../public/* .
- git add --all - git add --all
- git commit -m "Deploy new version $CI_COMMIT_SHA" - git commit -m "Deploy new version $CI_COMMIT_SHA"
- git push -u origin pages - git push -u origin -f pages