diff options
| author | xplshn <musicslave66@e.email> | 2025-01-09 23:01:23 -0300 |
|---|---|---|
| committer | xplshn <musicslave66@e.email> | 2025-01-09 23:01:23 -0300 |
| commit | e55810cd3da87bd2d5aa157adbd30ed37aa5b183 (patch) | |
| tree | 66a5ee3a00e50055d59682959d44f8b383c120aa /.woodpecker.yml | |
| parent | 25a886b18f01478a32c0aae395b33a0266295585 (diff) | |
| download | alicelinux-e55810cd3da87bd2d5aa157adbd30ed37aa5b183.tar.gz alicelinux-e55810cd3da87bd2d5aa157adbd30ed37aa5b183.zip | |
Create CI workflow to update [WWW] upon changes to *.md files
Signed-off-by: xplshn <musicslave66@e.email>
Diffstat (limited to '.woodpecker.yml')
| -rw-r--r-- | .woodpecker.yml | 19 |
1 files changed, 19 insertions, 0 deletions
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 |