summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml5
1 files changed, 5 insertions, 0 deletions
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