aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-06-01 20:19:25 -0400
committerBen Burwell <ben@benburwell.com>2019-06-01 20:19:25 -0400
commit563f377627def26cfde40dda46c33ca116e57db6 (patch)
tree7bdde33dc319096abcd34b87ac96394a2eaa6d57
parentbcb03035b348c4508c754a319d6547c0336c8848 (diff)
Add SSH opts to .build.yml
-rw-r--r--.build.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index fde28f7..0371f5b 100644
--- a/.build.yml
+++ b/.build.yml
@@ -3,9 +3,13 @@ packages:
- rsync
sources:
- https://git.sr.ht/~benburwell/howtochooseapassword.com
+environment:
+ site: howtochooseapassword.com
triggers:
- action: email
condition: always
to: Ben Burwell <ben@benburwell.com>
tasks:
- - deploy: rsync -rP . howtochooseapassword.com:/var/www/howtochooseapassword.com
+ - deploy: |
+ sshopts="-o StrictHostKeyChecking=no"
+ rsync --rsh="ssh $sshopts" -rP $site $site:/var/www/$site