From 8a34feea8ed4a1ecca47484dd62a4ca06a87b4d6 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Mon, 6 Feb 2023 13:40:44 +0100 Subject: [PATCH] Correct echo --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e27b4dc..0a5f645 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,7 +28,7 @@ steps: # See https://github.com/drone/drone/issues/2692 # write the ssh key to disk - mkdir /root/.ssh - - echo -n "$SSH_KEY" > /root/.ssh/id_rsa + - echo -e "$SSH_KEY" > /root/.ssh/id_rsa - chmod 600 /root/.ssh/id_rsa - stat /root/.ssh/id_rsa