avoid trimming last line of private key
This commit is contained in:
parent
426a3fed88
commit
d3bdf696b7
@ -2,7 +2,7 @@ image: shockrah/website:1.1
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- 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/
|
- mkdir -p ~/.ssh/
|
||||||
- chmod 700 ~/.ssh/
|
- chmod 700 ~/.ssh/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user