ci: Add error handling for git pull failures
This commit is contained in:
parent
7fcfb184e5
commit
70924fe247
1 changed files with 4 additions and 1 deletions
|
|
@ -23,7 +23,10 @@ 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
|
git log --oneline -1
|
||||||
|
|
||||||
- name: Build BotServer and BotUI
|
- name: Build BotServer and BotUI
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue