gitlab-cy.yml

This commit is contained in:
s0dy 2018-11-18 00:08:47 +01:00
parent c2d5c80590
commit 96916111b6

View File

@ -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