This commit is contained in:
parent
2e3a61d756
commit
7f2f48c2ab
1 changed files with 23 additions and 22 deletions
|
@ -2,9 +2,9 @@ name: GBCI
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -22,7 +22,9 @@ jobs:
|
|||
toolchain: stable
|
||||
|
||||
- name: Run build
|
||||
run: cargo build --locked
|
||||
run: |
|
||||
sudo cp /opt/gbo/bin/system/.env .
|
||||
cargo build --locked
|
||||
|
||||
- name: Deploy binary and restart
|
||||
run: |
|
||||
|
@ -32,4 +34,3 @@ jobs:
|
|||
sudo chmod +x /opt/gbo/bin/system/gbserver
|
||||
|
||||
lxc exec bot:pragmatismo-system -- systemctl start system
|
||||
|
Loading…
Add table
Reference in a new issue