fix: printf is gonna save us all
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
a6ee7838e4
commit
8a92087950
@ -31,8 +31,8 @@ steps:
|
|||||||
OL_D:
|
OL_D:
|
||||||
from_secret: hugo_dir
|
from_secret: hugo_dir
|
||||||
commands:
|
commands:
|
||||||
- echo -n $OL_K > ol_k
|
- printf %s "$OL_K" > ol_k
|
||||||
- echo -n $OL_K_PUB > ol_k.pub
|
- printf %s "$OL_K_PUB" > ol_k.pub
|
||||||
- chmod -v 0600 ./ol_k
|
- chmod -v 0600 ./ol_k
|
||||||
- chmod -v 0644 ./ol_k.pub
|
- chmod -v 0644 ./ol_k.pub
|
||||||
- rsync --rsh="ssh -i ./ol_k -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -av --delete chown $OL public/ $OL@dotya.ml:$OL_D
|
- rsync --rsh="ssh -i ./ol_k -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