ci: rebuild the manual on every push to main - #16
Merged
Conversation
Fires the same repository_dispatch at Dialog-IF/manual that release.yml already sends, so a plain merge to main keeps the published manual in sync with docs/, not just tagged releases. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RTppFtoRZ3ZmWYF14xDiXX
A code-only merge produces an identical site. workflow_dispatch stays available for a forced rebuild. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RTppFtoRZ3ZmWYF14xDiXX
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.
Dialog-IF/manualconsumes this repo'sdocs/as an Antora content source, so a merge tomainthat touchesdocs/can leave the published manual stale.release.ymlalready fires arepository_dispatch(rebuild-manual) at that repo after a tagged release — this adds the same trigger for plain merges.New workflow
.github/workflows/rebuild-manual.yml:on: push: branches: [main], paths: ['docs/**']— a code-only merge produces an identical site, so it's skippedworkflow_dispatchfor a forced rebuildconcurrencycoalesces a burst of doc merges into one rebuildMANUAL_REBUILD_TOKENsecret +peter-evans/repository-dispatch@v3, exactly asrelease.ymldoes🤖 Generated with Claude Code