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"