From 07f1197d7d025af704f14a3669f3d06914959b76 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mon, 17 Apr 2023 14:55:26 -0400 Subject: [PATCH] Use -o StrictHostKeyChecking=no when connecting --- .build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 55267ff..d514492 100644 --- a/.build.yml +++ b/.build.yml @@ -13,9 +13,10 @@ tasks: cd blog /usr/bin/hugo --verbose - deploy: | + sshopts="ssh -p 6722 -o StrictHostKeyChecking=no" cd blog /usr/bin/rsync --verbose --compress --archive --recursive \ - --progress --checksum --rsh="ssh -p 6722" \ + --progress --checksum --rsh="$sshopts" \ public/ blog@sergiodj.net:/home/blog/blog.sergiodj.net/ triggers: - action: email