- The .env copy step was removed as it is no longer needed
Some checks failed
GBCI / build (push) Failing after 7m11s
Some checks failed
GBCI / build (push) Failing after 7m11s
- Added pkill to terminate gbserver before redeploying
This commit is contained in:
parent
3315198bab
commit
16d6c1db48
1 changed files with 1 additions and 1 deletions
|
|
@ -23,12 +23,12 @@ jobs:
|
|||
|
||||
- name: Run build
|
||||
run: |
|
||||
sudo cp /opt/gbo/bin/system/.env .
|
||||
cargo build --locked
|
||||
|
||||
- name: Deploy binary and restart
|
||||
run: |
|
||||
lxc exec bot:pragmatismo-system -- systemctl stop system
|
||||
pkill gbserver
|
||||
|
||||
sudo cp ./target/debug/gbserver /opt/gbo/bin/system
|
||||
sudo chmod +x /opt/gbo/bin/system/gbserver
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue