From 19d2f1f7db72a44d5244ebf519672cff46315193 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 9 Jul 2020 09:58:23 +0200 Subject: [PATCH] fix: add the pubkey --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index e1d150a..02ff59a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,11 +26,15 @@ steps: from_secret: hugo_user OL_K: from_secret: hugo_k + OL_K_PUB: + from_secret: hugo_k_pub OL_D: from_secret: hugo_dir commands: - echo $OL_K > ol_k + - echo $OL_K_PUB > ol_k.pub - 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