Update .gitlab-ci.yml file
This commit is contained in:
parent
2122c5b009
commit
806d9f307b
@ -44,7 +44,8 @@ deploy-period:
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- ssh-keyscan 192.168.1.19
|
||||
- ssh-keyscan 192.168.1.19 >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
script:
|
||||
- ssh ahosking@192.168.1.19 "cd /home/ahosking/period && git pull origin master && exit"
|
||||
only:
|
||||
|
Loading…
Reference in New Issue
Block a user