fix(ci): repair daily Update API Documentation workflow#5
Open
islandbitcoin wants to merge 1 commit into
Open
Conversation
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) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C7z7o9J18BWbUnYJcemMtg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The daily Update API Documentation workflow has been failing on every run:
The Magidoc migration (#4) renamed the
generate-docsnpm script togenerateand folded it intobuild(fetch-schema+magidoc generate+clean-urls). The workflow's Generate documentation step still called the removednpm run generate-docs, failing the job before docs could regenerate.Fix
Remove the Generate documentation step. It was both broken (script gone) and redundant — the next step, Build site, already runs
npm run build, which fetches the schema and regenerates the site.No behavior change on success: schema is still fetched, change-detected, built, committed, and pushed.
🤖 Generated with Claude Code