diff options
author | Ben Burwell <ben@benburwell.com> | 2019-06-01 21:16:56 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-06-01 21:16:56 -0400 |
commit | 3c9db2d6fec65921d7ba1d62feadec9c61f30c99 (patch) | |
tree | 9a3cd58d26b80af1d6cca374ca5cbd34c5da0a52 | |
parent | edd5621570cfcd1676eac05301e2f14be25c7398 (diff) |
Add deploy step to .build.yml
-rw-r--r-- | .build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |