blob: 73f8de23a25cdb05d21b5ac21e37247047c3d395 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|