Create build manifest

This commit is contained in:
Sergio Durigan Junior 2023-04-17 13:57:43 -04:00
parent 748f4e272b
commit ed381c079b

23
.build.yml Normal file
View file

@ -0,0 +1,23 @@
image: debian/testing
packages:
- hugo
- rsync
secrets:
- 858d8c0b-0473-4b63-97b2-8d54f44538f8
sources:
- https://git.sr.ht/~sergiodj/blog
tasks:
- setup: |
/usr/bin/hugo env
- build: |
cd blog
/usr/bin/hugo --verbose
- deploy: |
cd blog
/usr/bin/rsync --verbose --compress --archive --recursive \
--progress --checksum --rsh="ssh -p 6722" \
public/ blog@sergiodj.net:/home/blog/blog.sergiodj.net/
triggers:
- action: email
condition: failure
to: sergiodj@sergiodj.net