ci: restart ui service during deployment
All checks were successful
GBCI / build (push) Successful in 5m30s
All checks were successful
GBCI / build (push) Successful in 5m30s
This commit is contained in:
parent
a3babbcaa7
commit
651b89e28d
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ jobs:
|
||||||
working-directory: workspace
|
working-directory: workspace
|
||||||
run: |
|
run: |
|
||||||
lxc exec bot:pragmatismo-system -- systemctl stop system || true
|
lxc exec bot:pragmatismo-system -- systemctl stop system || true
|
||||||
|
lxc exec bot:pragmatismo-system -- systemctl stop ui || true
|
||||||
|
|
||||||
sudo cp target/debug/botserver /opt/gbo/bin/system/
|
sudo cp target/debug/botserver /opt/gbo/bin/system/
|
||||||
sudo chmod +x /opt/gbo/bin/system/botserver
|
sudo chmod +x /opt/gbo/bin/system/botserver
|
||||||
|
|
@ -102,3 +103,4 @@ jobs:
|
||||||
sudo chmod +x /opt/gbo/bin/system/botui
|
sudo chmod +x /opt/gbo/bin/system/botui
|
||||||
|
|
||||||
lxc exec bot:pragmatismo-system -- systemctl start system || true
|
lxc exec bot:pragmatismo-system -- systemctl start system || true
|
||||||
|
lxc exec bot:pragmatismo-system -- systemctl start ui || true
|
||||||
Loading…
Add table
Reference in a new issue