Use -o StrictHostKeyChecking=no when connecting
This commit is contained in:
parent
e48045f6f1
commit
07f1197d7d
1 changed files with 2 additions and 1 deletions
|
@ -13,9 +13,10 @@ tasks:
|
||||||
cd blog
|
cd blog
|
||||||
/usr/bin/hugo --verbose
|
/usr/bin/hugo --verbose
|
||||||
- deploy: |
|
- deploy: |
|
||||||
|
sshopts="ssh -p 6722 -o StrictHostKeyChecking=no"
|
||||||
cd blog
|
cd blog
|
||||||
/usr/bin/rsync --verbose --compress --archive --recursive \
|
/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/
|
public/ blog@sergiodj.net:/home/blog/blog.sergiodj.net/
|
||||||
triggers:
|
triggers:
|
||||||
- action: email
|
- action: email
|
||||||
|
|
Loading…
Reference in a new issue