Re-arranged cicd command
continuous-integration/drone the build was successful Details

master
Jef Roosens 2021-05-03 19:12:21 +02:00
parent ebc6c2de5d
commit 05673bebbc
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 -o 'StrictHostKeyChecking=no'" public -az --delete "$DEPLOY_DEST" - rsync -e "ssh -p $DEPLOY_PORT -o 'StrictHostKeyChecking=no'" -az --delete public/ "$DEPLOY_DEST"
secrets: [ deploy_key, deploy_port, deploy_dest ] secrets: [ deploy_key, deploy_port, deploy_dest ]