fix: no passwd, just the kee
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
surtur 2020-07-09 09:55:10 +02:00
parent a5675c9024
commit cfcc02b96b
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -24,14 +24,14 @@ steps:
environment:
OL:
from_secret: hugo_user
OL_P:
from_secret: hugo_passwd
OL_K:
from_secret: hugo_k
OL_D:
from_secret: hugo_dir
commands:
- export DAT_DIR=$OL_D
- export RSYNC_PASSWORD=$OL_P
- rsync --rsh="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -av --delete chown $OL public/ $OL@dotya.ml:$DAT_DIR
- echo $OL_K > ol_k
- chmod -v 0600 ./ol_k
- rsync --rsh="ssh -i ./ol_k -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -av --delete chown $OL public/ $OL@dotya.ml:$OL_D
---