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
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "**"
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "botserver/**"
|
||||
- "botui/**"
|
||||
- "botlib/**"
|
||||
- ".forgejo/workflows/botserver.yaml"
|
||||
- "Cargo.toml"
|
||||
- "Cargo.lock"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -17,7 +22,11 @@ steps:
|
|||
- name: Setup
|
||||
run: |
|
||||
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
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue