fix: add the pubkey
Some checks failed
continuous-integration/drone/push Build is failing

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

@ -26,11 +26,15 @@ steps:
from_secret: hugo_user from_secret: hugo_user
OL_K: OL_K:
from_secret: hugo_k from_secret: hugo_k
OL_K_PUB:
from_secret: hugo_k_pub
OL_D: OL_D:
from_secret: hugo_dir from_secret: hugo_dir
commands: commands:
- echo $OL_K > ol_k - echo $OL_K > ol_k
- echo $OL_K_PUB > ol_k.pub
- chmod -v 0600 ./ol_k - chmod -v 0600 ./ol_k
- 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