avoid trimming last line of private key

This commit is contained in:
shockrah 2020-10-26 01:47:27 -07:00
parent 426a3fed88
commit d3bdf696b7

View File

@ -2,7 +2,7 @@ image: shockrah/website:1.1
before_script:
- 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/
- chmod 700 ~/.ssh/