From 1a150c221716dd3a1a06ae89225510f145c8f3b7 Mon Sep 17 00:00:00 2001 From: bniwredyc Date: Tue, 28 Mar 2023 17:04:51 +0200 Subject: [PATCH] debug --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cfd86aad..fd900242 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ variables: SERVER: v2.discours.io deploy: - image: actions/ssh-keyscan + image: alpine stage: deploy environment: name: production @@ -16,7 +16,7 @@ deploy: - main script: - mkdir -p ~/.ssh - - ssh-keyscan -t rsa $SERVER >> ~/.ssh/known_hosts + - ssh -o StrictHostKeyChecking=no dokku@$SERVER - echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa - chmod 0400 ~/.ssh/id_rsa - git remote add dokku dokku@$SERVER:$APP_NAME