Revert CI workflow to path filters from 3 hours ago
- Restore paths filter for botserver/**, botui/**, botlib/**, etc. - Restore error handling for git pull - This was the last working configuration
This commit is contained in:
parent
ed0cb3bce6
commit
5a6f062794
1 changed files with 14 additions and 5 deletions
|
|
@ -1,10 +1,15 @@
|
||||||
name: BotServer CI
|
name: BotServer CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- "**"
|
- "botserver/**"
|
||||||
|
- "botui/**"
|
||||||
|
- "botlib/**"
|
||||||
|
- ".forgejo/workflows/botserver.yaml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -17,7 +22,11 @@ steps:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
cd /opt/gbo/work/generalbots
|
cd /opt/gbo/work/generalbots
|
||||||
git pull
|
if ! git pull; then
|
||||||
|
echo "::error::Git pull failed. Please resolve conflicts manually."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
git log --oneline -1
|
||||||
|
|
||||||
- name: Build BotServer and BotUI
|
- name: Build BotServer and BotUI
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue