diff options
| -rw-r--r-- | .woodpecker.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml index 50500d19..bf082ae0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -20,6 +20,24 @@ steps: - git add --all - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty - git push + - cd .. + - 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 + when: event: [push] |