fix: now sshpass really saves the day
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
surtur 2020-07-09 11:32:24 +02:00
parent 8ffe8ccc4a
commit 61b6750403
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -31,7 +31,9 @@ steps:
commands:
- apk update
- apk add sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
- rsync --rsh="sshpass -p $OL_P ssh -v -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -av --delete chown $OL public/ $OL@dotya.ml:$OL_D
- echo $OL_P > nupass
- export RSYNC_RSH='sshpass -f ./nupass ssh -v -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
- rsync -av --delete chown $OL public/ $OL@dotya.ml:$OL_D
---