Update .gitlab-ci.yml

This commit is contained in:
XenGi 2018-08-16 22:57:53 +02:00
parent 0ac4e0ed3c
commit 0237bbcbb2

View file

@ -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: