Added extra flag to ssh command
All checks were successful
continuous-integration/drone the build was successful

This commit is contained in:
Jef Roosens 2021-05-03 19:10:44 +02:00
parent 8047c491ad
commit ebc6c2de5d
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30

View file

@ -13,5 +13,5 @@ pipeline:
- apk add --no-cache rsync openssh-client
- eval $(ssh-agent)
- echo "$DEPLOY_KEY" | ssh-add -
- rsync -e "ssh -p $DEPLOY_PORT" public -az --delete "$DEPLOY_DEST"
- rsync -e "ssh -p $DEPLOY_PORT -o 'StrictHostKeyChecking=no'" public -az --delete "$DEPLOY_DEST"
secrets: [ deploy_key, deploy_port, deploy_dest ]