feat: Update CI/CD scripts and configurations for improved deployment and system management
All checks were successful
GBCI / build (push) Successful in 5m2s
All checks were successful
GBCI / build (push) Successful in 5m2s
This commit is contained in:
parent
408c1c8158
commit
184a322c94
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ jobs:
|
|||
- name: Run build
|
||||
run: cargo build --locked
|
||||
|
||||
- name: Deploy binary
|
||||
- name: Deploy binary and restart
|
||||
run: |
|
||||
sudo cp ./target/release/gbserver /opt/gbo/bin/system
|
||||
sudo cp ./target/debug/gbserver /opt/gbo/bin/system
|
||||
sudo chmod +x /opt/gbo/bin/system/gbserver
|
||||
|
||||
lxc exec bot:pragmatismo-system -- systemctl restart system
|
||||
|
|
Loading…
Add table
Reference in a new issue