Update Deployment Script
This commit is contained in:
parent
954de7f8db
commit
adb1614177
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,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/* www-data@31.220.42.224:$DEPPATH
|
- rsync -rav -e "ssh -p 65432" ./Geekbot.net/Binaries/* geekbot@172.104.156.220:$DEPPATH
|
||||||
- ssh -p 65432 www-data@31.220.42.224 "sudo systemctl restart geekbot.service"
|
- ssh -p 65432 geekbot@172.104.156.220 "sudo systemctl restart geekbot.service"
|
||||||
|
|
||||||
mirror:
|
mirror:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
Loading…
Reference in a new issue