Use -o StrictHostKeyChecking=no when connecting

This commit is contained in:
Sergio Durigan Junior 2023-04-17 14:55:26 -04:00
parent e48045f6f1
commit 07f1197d7d

View file

@ -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