Fix CI: Clean workspace before clone
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
- Add rm -rf /opt/gbo/data/botserver before git clone - Prevents 'destination already exists' error on re-runs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b23fa90da1
commit
6b17476dfb
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $WORKSPACE
|
mkdir -p $WORKSPACE
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
|
# Clean existing workspace to avoid conflicts
|
||||||
|
rm -rf /opt/gbo/data/botserver
|
||||||
# Update or clone botlib (preserve git history for sccache fingerprints)
|
# Update or clone botlib (preserve git history for sccache fingerprints)
|
||||||
if [ -d botlib/.git ]; then
|
if [ -d botlib/.git ]; then
|
||||||
git -C botlib pull origin main
|
git -C botlib pull origin main
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue