diff --git a/.drone.yml b/.drone.yml index d2649b0..ba32b88 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,9 @@ steps: commands: - 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 + - 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 ---