CI: Fix runner name to gbo, add path filters
This commit is contained in:
parent
2c66e30e66
commit
0bebb0c1f2
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ on:
|
|||
paths:
|
||||
- 'botserver/**'
|
||||
- 'botlib/**'
|
||||
- 'Cargo.lock'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: gbo
|
||||
|
|
@ -21,6 +22,7 @@ jobs:
|
|||
cargo build -p botserver
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "Deploying botserver..."
|
||||
sudo incus exec system -- systemctl stop botserver || true
|
||||
sudo incus exec system -- pkill -x botserver || true
|
||||
sleep 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue