From 501c89f0a700c02da46c5e4e0f971eced79115f1 Mon Sep 17 00:00:00 2001 From: AYDEV-FR Date: Sun, 21 Jun 2026 11:12:51 +0200 Subject: [PATCH] ci(release): drop the broken, redundant docs job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release workflow's update-docs job deployed `./docs/build`, but the docs are Astro and build to `docs/dist` — so it failed with ENOENT on every tag. It also duplicated docs.yml, which already deploys Pages correctly (path: docs/dist, official Pages flow) on docs/** pushes. Remove the job rather than fix it; docs.yml is the single source of truth for the docs site. Claude-Session: https://claude.ai/code/session_01M4Dd5oASBGHwr6ts6wTnYn --- .github/workflows/release.yml | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d6518c..de137d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,31 +170,7 @@ jobs: run: | cosign sign --yes "${REGISTRY}/${{ steps.img.outputs.name }}@${{ steps.build.outputs.digest }}" - update-docs: - name: Update Documentation - runs-on: ubuntu-latest - needs: release - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: '20' - cache: 'npm' - cache-dependency-path: docs/package-lock.json - - - name: Install dependencies - working-directory: docs - run: npm ci - - - name: Build documentation - working-directory: docs - run: npm run build - - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/build + # Docs deployment lives in docs.yml (Astro -> docs/dist, official Pages + # flow), which already runs on docs/** pushes. The job that used to live + # here pointed at ./docs/build (wrong for Astro) and duplicated docs.yml, + # so it was removed rather than fixed.