diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-01-10 02:13:09 +0000 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-01-10 02:13:09 +0000 |
| commit | 9e6a1c539e10b0079ca9b43f53b1beac263f2c41 (patch) | |
| tree | 66a5ee3a00e50055d59682959d44f8b383c120aa | |
| parent | 25a886b18f01478a32c0aae395b33a0266295585 (diff) | |
| parent | e55810cd3da87bd2d5aa157adbd30ed37aa5b183 (diff) | |
| download | alicelinux-9e6a1c539e10b0079ca9b43f53b1beac263f2c41.tar.gz alicelinux-9e6a1c539e10b0079ca9b43f53b1beac263f2c41.zip | |
Merge pull request 'Create CI workflow to update [WWW] upon changes to *.md files' (#15) from xplshn/alicelinux:main into main
Reviewed-on: https://codeberg.org/emmett1/alicelinux/pulls/15
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | .woodpecker.yml | 19 |
2 files changed, 20 insertions, 0 deletions
@@ -3,3 +3,4 @@ *.tar.xz *.sha256sum *.pkglist +.m diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 00000000..73f8de23 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,19 @@ +# .woodpecker.yml +pipeline: + generate-html: + image: alpine:latest + when: + branch: main + event: [push, pull_request] + commands: + - apk add --no-cache pandoc git + - git config --global user.email "ci@alicelinux.emmett1.net" + - git config --global user.name " [AliceLinux CI] " + - git fetch origin pages + - git checkout pages + - git merge main --allow-unrelated-histories -X theirs + - chmod +x genhtml.sh + - ./genhtml.sh + - git add . + - git commit -m " [CI] - Update pages" || echo "No changes to commit" + - git push origin pages |