aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--.woodpecker.yml19
2 files changed, 20 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9e3df07f..ca118603 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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