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