Create build manifest
This commit is contained in:
parent
748f4e272b
commit
ed381c079b
1 changed files with 23 additions and 0 deletions
23
.build.yml
Normal file
23
.build.yml
Normal 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
|
Loading…
Reference in a new issue