From cef7611cba127c442722f71cf80a360185df10b4 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 11 Feb 2026 13:35:11 -0800 Subject: [PATCH] Wrap fly ssh cache purge in sh -c for BusyBox fly ssh console -C doesn't run through a shell, so && was passed as literal arguments to rm. Wrap in sh -c to get proper shell parsing. Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/build-blumeops.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-blumeops.yaml b/.forgejo/workflows/build-blumeops.yaml index 859174d..14f8679 100644 --- a/.forgejo/workflows/build-blumeops.yaml +++ b/.forgejo/workflows/build-blumeops.yaml @@ -332,7 +332,7 @@ jobs: FLY_API_TOKEN: ${{ secrets.FLY_DEPLOY_TOKEN }} run: | echo "Purging nginx cache on Fly.io proxy..." - fly ssh console -a blumeops-proxy -C "rm -rf /tmp/cache && nginx -s reload" + fly ssh console -a blumeops-proxy -C "sh -c 'rm -rf /tmp/cache && nginx -s reload'" echo "Cache purged" - name: Summary