Notify the unified website when docs content changes - #10934
Open
Urigo wants to merge 1 commit into
Open
Conversation
The Codegen docs are moving into the unified the-guild.dev website, which fetches website/src/pages from this repo at build time. This dispatch triggers its redeploy whenever the content changes. Requires a WEBSITE_DISPATCH_TOKEN secret (fine-grained PAT for the-guild-org/website with contents:write). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Contributor
💻 Website PreviewThe latest changes are available as preview in: https://pr-10934.graphql-code-generator.pages.dev |
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.
The Codegen docs are moving into the unified the-guild.dev website (the-guild-org/website), which fetches this repo's
website/src/pagescontent at build time and serves it atthe-guild.dev/graphql/codegen.This workflow fires a
repository_dispatch(codegen-content-update) at that repo whenever docs content changes on master, so the website redeploys with the fresh content.Setup needed before merge: add a
WEBSITE_DISPATCH_TOKENrepo secret — a fine-grained PAT scoped tothe-guild-org/websitewithcontents: writepermission.Companion PR on the website side: the-guild-org/website (adds the
repository_dispatchtrigger and the content-fetching build).🤖 Generated with Claude Code