fix: use rsync password file or die
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7be4704325
commit
d591bea903
@ -29,7 +29,9 @@ steps:
|
|||||||
OL_D:
|
OL_D:
|
||||||
from_secret: hugo_dir
|
from_secret: hugo_dir
|
||||||
commands:
|
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
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user