fix: now sshpass really saves the day
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8ffe8ccc4a
commit
61b6750403
@ -31,7 +31,9 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
|
- 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
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user