From a45ff79f165c8e648d50cd1a3c6089d771a7b5cc Mon Sep 17 00:00:00 2001 From: Slava Date: Mon, 28 Aug 2023 23:51:21 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4b2029..1f9e98f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ prepare_job: ## without extra base64 encoding. ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556 ## - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - echo "$SSH_PRIVATE_KEY" ## ## Create the SSH directory and give it the right permissions ## @@ -35,7 +35,7 @@ prepare_job: ## Assuming you created the SSH_SERVER_HOST_KEYS variable, uncomment the ## following two lines. ## - - echo "$SSH_SERVER_HOST_KEYS" + - echo "$SSH_SERVER_HOST_KEYS" >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - git config --global user.email 'bot@hzdr.de' - git config --global user.name 'Bot'