From 9912ff4034523f64991d80e30ece9ca456877dfa Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 4 Dec 2023 19:30:17 +0800 Subject: [PATCH] Create .ssh folder on woodpecker actions --- .woodpecker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 546f80c..e2e03e5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,6 +9,7 @@ steps: image: alpine commands: - apk add --no-cache openssh-client + - mkdir -p /root/.ssh/ - echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa - chmod 600 /root/.ssh/id_rsa - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config