diff --git a/.drone.yml b/.drone.yml index 582f772..d2649b0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,9 +29,9 @@ steps: OL_D: from_secret: hugo_dir commands: - - echo $OL_P > /pw_f - - chmod -v 0600 /pw_f - - 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 + - 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 ---