From dc9ec27c3a35b78d3f374e7063b500fb9f2b94fd Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Fri, 5 Jan 2024 19:26:29 +0100 Subject: [PATCH] :) ??????????????????? --- .woodpecker.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2aaffef..5487c97 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -15,10 +15,9 @@ steps: - git config --global user.email "ci@polynom.me" - 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 clone -b pages $CI_REPO_CLONE_URL deploy - - cd deploy + - git init -b pages public + - cd public - 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 commit -m "Deploy new version $CI_COMMIT_SHA" - - git push -u origin pages \ No newline at end of file + - git push -u origin -f pages \ No newline at end of file