Added extra flag to ssh command
continuous-integration/drone the build was successful Details

master
Jef Roosens 2021-05-03 19:10:44 +02:00
parent 8047c491ad
commit ebc6c2de5d
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 1 additions and 1 deletions

View File

@ -13,5 +13,5 @@ pipeline:
- apk add --no-cache rsync openssh-client - apk add --no-cache rsync openssh-client
- eval $(ssh-agent) - eval $(ssh-agent)
- echo "$DEPLOY_KEY" | ssh-add - - 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 ] secrets: [ deploy_key, deploy_port, deploy_dest ]