From d8cddfb87d228fa6fbfe21d44930d8195230a6c5 Mon Sep 17 00:00:00 2001 From: Dread Date: Mon, 20 Jul 2026 20:05:43 -0700 Subject: [PATCH] fix(ci): drop broken generate-docs step from update-docs workflow The Magidoc migration (PR #4) renamed the 'generate-docs' npm script to 'generate' and folded it into 'build' (fetch-schema + generate + clean-urls). The workflow still called 'npm run generate-docs', which no longer exists, failing the daily 'Update API Documentation' run with 'Missing script: generate-docs'. The subsequent 'Build site' step already runs 'npm run build' and covers generation, so the step was both broken and redundant. Remove it. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01C7z7o9J18BWbUnYJcemMtg --- .github/workflows/update-docs.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 326c008..f446d2d 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -35,13 +35,9 @@ jobs: echo "changes_detected=true" >> $GITHUB_OUTPUT fi - - name: Generate documentation - if: steps.check-changes.outputs.changes_detected == 'true' - run: npm run generate-docs - - name: Build site if: steps.check-changes.outputs.changes_detected == 'true' - run: npm run build + run: npm run build # fetch-schema + magidoc generate + clean-urls - name: Commit and push changes if: steps.check-changes.outputs.changes_detected == 'true'