blob: d0f7270c835deb63917a0ea6fa0de48600604780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
image: debian/testing
packages:
- pandoc
- weasyprint
- poppler-utils
- sic
- rsync
sources:
- https://git.sr.ht/~boringcactus/crowbar-spec
secrets:
- b5cb9b2b-1461-4486-95e1-886451674a89
tasks:
- build: |
cd crowbar-spec
make
- compress: |
tar czf spec-html.tar.gz crowbar-spec/*.html
- test-page-count: |
cd crowbar-spec
make check
- upload: |
cd crowbar-spec
rsync -rlt8hP --del *.html services@boringcactus.com:/var/www/html/crowbar-lang.org/
rsync -rlt8hP --del spec.pdf services@boringcactus.com:/var/www/html/crowbar-lang.org/
- notify: |
cd crowbar-spec
(sleep 20; echo ':j #crowbar-lang'; echo "/me crowbar spec updated: $(git log -1 --no-decorate --oneline)") | sic -h chat.freenode.net -n crowbar-notifs
artifacts:
- crowbar-spec/spec.pdf
- spec-html.tar.gz
|