From c04a3ed00dbf93e7a2a4a352b985affc8761191c Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Mon, 30 Sep 2024 22:44:20 +0200 Subject: [PATCH] Missing creating ssh folder --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec6313e..d75d611 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,6 +54,7 @@ publish: rules: !reference [.rules:deploy, rules] stage: publish script: + - mkdir -p ~/.ssh - cp "$SSH_PRIVATE_KEY" ~/.ssh/bot - chmod 600 ~/.ssh/bot - ssh-keyscan -H ${SERVER} >> ~/.ssh/known_hosts