From b1966179816980489b11037e27861acc29eeee50 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Tue, 3 Jun 2025 16:22:15 +0200 Subject: update woodpecker --- .woodpecker.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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] -- cgit v1.2.3