From 5def97036b44a4373a6349bd10636a5a8c1282d4 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Thu, 11 Nov 2021 12:19:39 +0800 Subject: [PATCH] update --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3272991..81178ae 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,5 +7,6 @@ steps: KEY: from_secret: key commands: - - echo $KEY > /id_rsa.pub + - echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config + - echo $KEY > ~/.ssh/id_rsa.pub - ssh kumoly@kumoly.io -i /id_rsa.pub -p 2222 ls