diff --git a/.drone.yml b/.drone.yml index 47a9531..582f772 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,7 +29,9 @@ steps: OL_D: from_secret: hugo_dir commands: - - RSYNC_PASSWORD=$OL_P rsync --rsh="ssh -v -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=password" -av --delete chown $OL public/ $OL@dotya.ml:$OL_D + - 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 ---