Change deployment IP
This commit is contained in:
parent
b0758eb119
commit
5db3187f0d
1 changed files with 48 additions and 48 deletions
|
@ -36,8 +36,8 @@ deploy:
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
script:
|
script:
|
||||||
- rsync -rav -e "ssh -p 65432" ./Geekbot.net/Binaries/* geekbot@172.104.156.220:$DEPPATH
|
- rsync -rav -e "ssh -p 65432" ./Geekbot.net/Binaries/* geekbot@192.168.156.175:$DEPPATH
|
||||||
- ssh -p 65432 geekbot@172.104.156.220 "sudo systemctl restart geekbot.service"
|
- ssh -p 65432 geekbot@192.168.156.175 "sudo systemctl restart geekbot.service"
|
||||||
|
|
||||||
mirror:
|
mirror:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
Loading…
Reference in a new issue