summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-06-01 21:16:56 -0400
committerBen Burwell <ben@benburwell.com>2019-06-01 21:16:56 -0400
commit3c9db2d6fec65921d7ba1d62feadec9c61f30c99 (patch)
tree9a3cd58d26b80af1d6cca374ca5cbd34c5da0a52
parentedd5621570cfcd1676eac05301e2f14be25c7398 (diff)
Add deploy step to .build.yml
-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