refactor: sshpass is now part of the image
All checks were successful
continuous-integration/drone/push Build is passing

* and also a redundant whitespace removed
This commit is contained in:
surtur 2020-07-09 12:51:43 +02:00
parent 0f112e9522
commit 643926ab5e
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

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