This commit is contained in:
@@ -6,6 +6,7 @@ pipeline:
|
|||||||
deploy:
|
deploy:
|
||||||
image: jbrechtel/rsync:latest
|
image: jbrechtel/rsync:latest
|
||||||
commands:
|
commands:
|
||||||
|
- ./ci-deploy
|
||||||
- mkdir -p $HOME/.ssh
|
- mkdir -p $HOME/.ssh
|
||||||
- ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
|
- ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
|
||||||
- sshpass -p $${DEPLOY_PASSWORD} rsync -avzr -e ssh -o "StrictHostKeyChecking no" /src/ $${DEPLOY_USER}@$${DEPLOY_HOST}:$${DEPLOY_PATH}
|
- sshpass -p $${DEPLOY_PASSWORD} rsync -avzr -e ssh -o "StrictHostKeyChecking no" /src/ $${DEPLOY_USER}@$${DEPLOY_HOST}:$${DEPLOY_PATH}
|
||||||
|
|||||||
Reference in New Issue
Block a user