alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

commit 963eb0f1180b6a48300de5877b66f4b268f298b4
parent 855d363fd43184bbf4621effe9a687a08bddf08d
Author: emmett1 <emmett1.2miligrams@protonmail.com>
Date:   Thu, 20 Nov 2025 04:52:29 +0100

Update .woodpecker.yml

Diffstat:
M.woodpecker.yml | 55++++++++++++++++++++++++++++++++++---------------------
1 file changed, 34 insertions(+), 21 deletions(-)

diff --git a/.woodpecker.yml b/.woodpecker.yml @@ -1,31 +1,43 @@ steps: publish: - image: docker:20.10 # Docker CLI image to enable docker login & pull + image: alpine:edge environment: - DOCKER_USER: - from_secret: DOCKER_USER - DOCKER_PASS: - from_secret: DOCKER_PASS CBMAIL: from_secret: "mail" CBTOKEN: from_secret: "codeberg_token" commands: - # Login to Docker Hub - - echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin - - # Pull Alpine after login (authenticated) - - docker pull alpine:edge - - # Run build inside Alpine container - - docker run --rm -v $PWD:/workspace -w /workspace alpine:edge sh -c " - apk add --no-cache git curl bash && - cd website && - chmod +x ./build.sh && - ./build.sh - " - - # Git config and push steps remain the same + - apk add --no-cache git curl + - cd website + - chmod +x ./build.sh + - ./build.sh - git config --global user.email "$${CBMAIL}" - git config --global user.name "Woodpecker CI" - # ... rest of git clone/push commands + - 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 + + when: + event: [push] +\ No newline at end of file