diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01d38df..a5da441 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,7 +49,7 @@ deploy_staging: - mkdir -p ~/.ssh - eval $(ssh-agent -s) - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - - ssh-add <(echo "$PRIVATE_KEY") + - echo "$PRIVATE_KEY" | ssh-add - - rsync -e "ssh -l deploy -p 31337" -av public/ 195.54.164.87:s when: on_success environment: