Update .gitlab-ci.yml

This commit is contained in:
solomon laing 2021-04-01 09:26:02 +00:00
parent bda36663ce
commit e4ecebaa8f

View File

@ -29,7 +29,7 @@ deploy-job:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y)' - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y)'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
echo -e "\n" - echo -e "\n"
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
script: script: