Update .gitlab-ci.yml
This commit is contained in:
parent
64e01c0827
commit
450552af18
|
@ -22,5 +22,7 @@ deploy:
|
|||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
- ssh "$SERVER_HOST" ls
|
Loading…
Reference in New Issue