From ed381c079b334c7284e2cbaafae7c9cacc1e34b9 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mon, 17 Apr 2023 13:57:43 -0400 Subject: [PATCH] Create build manifest --- .build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..27f176f --- /dev/null +++ b/.build.yml @@ -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