mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-07-24 20:09:50 +00:00
gitlab-cy.yml
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user