fix: sshpass saves us all now
Some checks failed
continuous-integration/drone/push Build is failing

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

@ -29,9 +29,9 @@ steps:
OL_D: OL_D:
from_secret: hugo_dir from_secret: hugo_dir
commands: commands:
- echo $OL_P > /pw_f - apk update
- chmod -v 0600 /pw_f - apk add sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
- rsync --password-file=/pw_f --rsh="ssh -v -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -av --delete chown $OL public/ $OL@dotya.ml:$OL_D - 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
--- ---