From 8e297ba706216c589998ed182d6b521e2c93f72e Mon Sep 17 00:00:00 2001 From: krustowski Date: Fri, 20 Sep 2024 15:56:58 +0200 Subject: [PATCH] add ssh-agent startup to CI config --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54eb28ce..4a028c89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,6 +42,7 @@ deploy-prod: variables: APP_ENVIRONMENT: $CI_JOB_STAGE before_script: + - eval $(ssh-agent -s) - chmod 400 "$DOCKER_SSH_KEY" - ssh-add "$DOCKER_SSH_KEY" script: