diff options
Diffstat (limited to '.woodpecker.yml')
| -rw-r--r-- | .woodpecker.yml | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index e139e325..00000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,51 +0,0 @@ -steps: - publish: - image: alpine:edge - environment: - CBMAIL: - from_secret: "mail" - CBTOKEN: - from_secret: "codeberg_token" - commands: - - apk add --no-cache git curl cmark - - chmod +x ./utils/buildsite.sh - - ./utils/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 - - cd $CI_REPO_NAME - - git rm -r "*" || true - - cp -ar ../public/. ../.domains . || true - - git add --all - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - - git push - - cd .. - - rm -rf $CI_REPO_NAME - - git clone -b core https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME - - cd $CI_REPO_NAME - - git rm -r "*" || true - - cp -ar ../repos/core/. . || true - - git add --all - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - - git push - - cd .. - - rm -rf $CI_REPO_NAME - - git clone -b extra https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME - - cd $CI_REPO_NAME - - git rm -r "*" || true - - cp -ar ../repos/extra/. . || true - - git add --all - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - - git push - - cd .. - - rm -rf $CI_REPO_NAME - - git clone -b community https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME - - cd $CI_REPO_NAME - - git rm -r "*" || true - - cp -ar ../repos/community/. . || true - - git add --all - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - - git push - - when: - event: [push] |