diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0d3bf4..872e458 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,8 +9,9 @@ before_script: # Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - #- mkdir -p ~/.ssh - #- chmod 700 ~/.ssh + #Create the SSH directory + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh #Verifying the SSH host keys - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts