alicelinux

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

.woodpecker.yml (1407B)


      1 steps:
      2   publish:
      3     image: alpine:edge
      4     environment:
      5       CBMAIL:
      6         from_secret: "mail"
      7       CBTOKEN:
      8         from_secret: "codeberg_token"
      9     commands:
     10       - apk add --no-cache git curl
     11       - cd website
     12       - chmod +x ./build.sh
     13       - ./build.sh
     14       - git config --global user.email "$${CBMAIL}"
     15       - git config --global user.name "Woodpecker CI"
     16       - git clone -b pages https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME
     17       - cd $CI_REPO_NAME
     18       - git rm -r "*" || true
     19       - cp -ar ../public/. ../.domains . || true
     20       - git add --all
     21       - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty
     22       - git push
     23       - cd ../..
     24       - rm -rf $CI_REPO_NAME
     25       - git clone -b core https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME
     26       - cd $CI_REPO_NAME
     27       - git rm -r "*" || true
     28       - cp -ar ../repos/core/. . || true
     29       - git add --all
     30       - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty
     31       - git push
     32       - cd ..
     33       - rm -rf $CI_REPO_NAME
     34       - git clone -b extra https://$${CBTOKEN}@codeberg.org/$CI_REPO.git $CI_REPO_NAME
     35       - cd $CI_REPO_NAME
     36       - git rm -r "*" || true
     37       - cp -ar ../repos/extra/. . || true
     38       - git add --all
     39       - git commit -m "Woodpecker CI ${CI_COMMIT_SHA} [SKIP CI]" --allow-empty
     40       - git push
     41 
     42     when:
     43       event: [push]
     44