From 6b17476dfb67be6f115c8ec4d1b0fb24bd6c842c Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 10 Apr 2026 20:45:04 -0300 Subject: [PATCH] Fix CI: Clean workspace before clone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .forgejo/workflows/botserver.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index f1328310..39424d27 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -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