diff options
| -rw-r--r-- | .woodpecker.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml index c000f50b..ed13f402 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,10 +7,9 @@ steps: CBTOKEN: from_secret: "codeberg_token" commands: - - apk add --no-cache git curl - - cd website - - chmod +x ./build.sh - - ./build.sh + - apk add --no-cache git curl cmark + - chmod +x ./buildsite.sh + - ./buildsite.sh - git config --global user.email "$${CBMAIL}" - git config --global user.name "Woodpecker CI" - git clone -b pages https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME @@ -20,7 +19,7 @@ steps: - git add --all - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - git push - - cd ../.. + - cd .. - rm -rf $CI_REPO_NAME - git clone -b core https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME - cd $CI_REPO_NAME @@ -40,4 +39,4 @@ steps: - git push when: - event: [push]
\ No newline at end of file + event: [push] |