aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-26 19:59:18 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-26 19:59:18 -0600
commit6f5fd47c38a4d19f47b95d826c50cc415102acaf (patch)
tree8b5fa787615284d317c9fe42b8335380d4a1b178 /.build.yml
parent7165af4503c612bd9d4d7969a0fba4eb1333bf7b (diff)
downloadspec-6f5fd47c38a4d19f47b95d826c50cc415102acaf.tar.gz
spec-6f5fd47c38a4d19f47b95d826c50cc415102acaf.zip
tweak build process a bit
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index ec6df1a..7e80ad7 100644
--- a/.build.yml
+++ b/.build.yml
@@ -3,10 +3,12 @@ packages:
- pandoc
- weasyprint
- poppler-utils
+ - sic
+ - rsync
sources:
- https://git.sr.ht/~boringcactus/crowbar-spec
-environment:
- files: "index vs-c tagged-unions types safety errors syntax LICENSE"
+secrets:
+ - b5cb9b2b-1461-4486-95e1-886451674a89
tasks:
- build: |
cd crowbar-spec
@@ -16,6 +18,12 @@ tasks:
- test-page-count: |
cd crowbar-spec
make check
+ - upload: |
+ cd crowbar-spec
+ rsync -rlt8hP --del *.html $deploy:/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