aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker.yml
diff options
context:
space:
mode:
authoremmett1 <me@emmett1.my>2026-05-24 23:34:39 +0800
committeremmett1 <me@emmett1.my>2026-05-24 23:34:39 +0800
commit76229f5bd496504363b58172e2708c7b9ad79c43 (patch)
tree727299aa5ec686d6df797b5fb67c384453614ed9 /.woodpecker.yml
parentc6e05105528b47a952d5367d5326a349608e456e (diff)
downloadalicelinux-76229f5bd496504363b58172e2708c7b9ad79c43.tar.gz
alicelinux-76229f5bd496504363b58172e2708c7b9ad79c43.zip
updated .woodpecker and buildsite.sh script
Diffstat (limited to '.woodpecker.yml')
-rw-r--r--.woodpecker.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml
index ed13f402..e139e325 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -8,8 +8,8 @@ steps:
from_secret: "codeberg_token"
commands:
- apk add --no-cache git curl cmark
- - chmod +x ./buildsite.sh
- - ./buildsite.sh
+ - 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
@@ -37,6 +37,15 @@ steps:
- 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]