Fix deployment
This commit is contained in:
parent
4de8447c97
commit
4e4f2e88d5
1 changed files with 2 additions and 2 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@192.168.156.175:$DEPPATH
|
- rsync -rav -e "ssh -p 65432" ./Geekbot.net/Binaries/* geekbot@$DEPIP:$DEPPATH
|
||||||
- ssh -p 65432 geekbot@192.168.156.175 "sudo systemctl restart geekbot.service"
|
- ssh -p 65432 geekbot@$DEPIP "sudo systemctl restart geekbot.service"
|
||||||
|
|
||||||
mirror:
|
mirror:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
Loading…
Reference in a new issue