From 7308c91b349fe7b49c91d514bf0c070d17a0c0a9 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 8 Mar 2020 05:55:24 +0100 Subject: [PATCH] fix ssh priv key perms --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index d388e36..fe42365 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,6 +38,7 @@ steps: - rm -rfv ./public - hugo --gc=true --minify - echo $hugo_key > hugo_deploy + - chmod -v 600 hugo_deploy #hellyeah - rsync -ave 'ssh -i ./hugo_deploy -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir - shred -zuv 7 hugo_deploy || true when: