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'