refactor: sshpass is now part of the image
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* and also a redundant whitespace removed
This commit is contained in:
parent
0f112e9522
commit
643926ab5e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user