aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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