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