From 3c27e52ada365b94d7c9e287a45bc47eefec4919 Mon Sep 17 00:00:00 2001 From: Rootiest Date: Fri, 21 Aug 2026 01:21:29 -0400 Subject: [PATCH 1/2] fix(ci): use working-directory instead of cd for Cloudflare deploy Gitea/GitHub Actions auto-groups a multi-line run: script under "Run ". With `cd docs/site` as the first line, the collapsed log tree showed that instead of the actual wrangler deploy command. Moving the directory change to the step's working-directory key drops cd from the script entirely, so the group label now reflects the command that's actually running. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a3b9b2..0f41c1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,11 +106,11 @@ jobs: npx astro build - name: Deploy to Cloudflare Pages + working-directory: docs/site env: CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} run: | - cd docs/site npx --yes wrangler pages deploy dist/ \ --project-name=fish-config-docs \ --branch=main \ -- 2.54.0 From 4d7ad64c3aec60b97548893952a4eab1d8c5617e Mon Sep 17 00:00:00 2001 From: Rootiest Date: Fri, 21 Aug 2026 01:23:34 -0400 Subject: [PATCH 2/2] fix(ci): drop remaining cd for working-directory consistency The only other cd left in the workflow mixed two working directories in one step: docs/build-manual.py --site runs from the repo root, then npm ci/astro build need docs/site. Split into two steps so each can use working-directory instead, keeping the whole file cd-free and consistent with the Cloudflare deploy step's fix. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f41c1d..66157f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,10 +98,12 @@ jobs: with: node-version: "24" + - name: Generate site content + run: python3 docs/build-manual.py --site + - name: Build documentation site + working-directory: docs/site run: | - python3 docs/build-manual.py --site - cd docs/site npm ci npx astro build -- 2.54.0