Fix CI: Clean workspace before clone
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:
Rodrigo Rodriguez (Pragmatismo) 2026-04-10 20:45:04 -03:00
parent b23fa90da1
commit 6b17476dfb

View file

@ -28,6 +28,8 @@ jobs:
run: |
mkdir -p $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)
if [ -d botlib/.git ]; then
git -C botlib pull origin main