From 563f377627def26cfde40dda46c33ca116e57db6 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sat, 1 Jun 2019 20:19:25 -0400 Subject: Add SSH opts to .build.yml --- .build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 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 -- cgit v1.2.3