mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-04-23 19:32:15 +00:00
gitlab-cy.yml
This commit is contained in:
parent
c2d5c80590
commit
96916111b6
@ -9,8 +9,9 @@ before_script:
|
|||||||
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent
|
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||||
|
|
||||||
#- mkdir -p ~/.ssh
|
#Create the SSH directory
|
||||||
#- chmod 700 ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
- chmod 700 ~/.ssh
|
||||||
|
|
||||||
#Verifying the SSH host keys
|
#Verifying the SSH host keys
|
||||||
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user