From 38425a9027ac379d4b4cd41824e7958b4c80e5c1 Mon Sep 17 00:00:00 2001 From: Jochen Welzel Date: Mon, 18 Jan 2021 18:15:10 +0100 Subject: [PATCH] correct key variable --- scp_and_reload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp_and_reload.sh b/scp_and_reload.sh index 8105c5c..7547697 100644 --- a/scp_and_reload.sh +++ b/scp_and_reload.sh @@ -3,7 +3,7 @@ CHFILENAMES=$(git diff-tree --no-commit-id --name-only $DRONE_COMMIT) mkdir /root/.ssh -echo $PLUGIN_KEY > /root/.ssh/id_rsa +echo "$PLUGIN_KEY" > /root/.ssh/id_rsa chmod 600 /root/.ssh/id_rsa echo "Changed files: $CHFILENAMES"