From 36a956e62803131f309bebc25219b15c2eddda87 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 22 Dec 2018 23:29:24 +0100 Subject: Deploy using builds.sr.ht --- .build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index da082cb..ffaa85a 100644 --- a/.build.yml +++ b/.build.yml @@ -3,7 +3,18 @@ packages: - jekyll sources: - https://git.sr.ht/~nloomans/noahloomans.com +environment: + deploy: root@noahloomans.com +secrets: + - a453c7e5-f773-4343-9fe3-ba3bf58492a3 tasks: - build: | cd noahloomans.com - jekyll build -d dist + jekyll build + - deploy: | + rsync \ + --rsh='ssh -o StrictHostKeyChecking=no' \ + --delete \ + --recursive \ + --progress \ + noahloomans.com/_site/. $deploy:/var/www/noahloomans.com/html/ -- cgit v1.1