Adding eval ssh-agent -s because it is required and I didn't think it was

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-11-10 21:04:33 +01:00
parent 7bda3392e9
commit de2c008e63

View File

@ -80,6 +80,7 @@ release-master:
deploy: deploy:
stage: deploy stage: deploy
before_script: before_script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh