From 3c9db2d6fec65921d7ba1d62feadec9c61f30c99 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sat, 1 Jun 2019 21:16:56 -0400 Subject: Add deploy step to .build.yml --- .build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.build.yml b/.build.yml index db24487..043fcc6 100644 --- a/.build.yml +++ b/.build.yml @@ -8,6 +8,8 @@ sources: - https://git.sr.ht/~benburwell/medicmate.io secrets: - a77e7f76-629d-4c49-803f-f223083816f0 +environment: + site: medicmate.io triggers: - action: email condition: always @@ -18,3 +20,6 @@ tasks: - build: | cd medicmate.io jekyll build +- deploy: | + sshopts="-o StrictHostKeyChecking=no" + rsync --delete --rsh="ssh $sshopts" -rP $site/_site/ bburwell@$site:$site -- cgit v1.2.3