Update .gitlab-ci.yml
This commit is contained in:
parent
0ac4e0ed3c
commit
0237bbcbb2
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue