Centralize arch-docs deployment to eliminate Cloudflare Workers#19
Merged
greynewell merged 1 commit intomainfrom Mar 9, 2026
Merged
Centralize arch-docs deployment to eliminate Cloudflare Workers#19greynewell merged 1 commit intomainfrom
greynewell merged 1 commit intomainfrom
Conversation
Each repo's arch-docs workflow now pushes output directly to
site/{name}/ in this central repo (with base-url set to
repos.supermodeltools.com) instead of deploying to individual
GitHub Pages. This means the full site — index, landing pages, and
all deep arch-docs pages — lives at repos.supermodeltools.com with
no Workers needed.
Changes:
- generate-index.go: fix sitemap to use urlset (not sitemapindex),
skip generating landing pages for repos that already have arch-docs
- build-index.yml: also trigger on site/** changes so a new arch-docs
push redeploys the full site
- setup-community-repos.sh: update workflow template with new approach
- update-arch-docs-workflows.sh: new script to push updated workflow to
all existing repos and set BOT_TOKEN secret
To complete setup:
1. Create a PAT with contents:write on graphtechnologydevelopers.github.io
2. Run: BOT_TOKEN=ghp_... ./update-arch-docs-workflows.sh
3. Trigger each repo's arch-docs workflow to do initial deploys
Co-Authored-By: Claude <noreply@anthropic.com>
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.
What this does
Moves all arch-docs to deploy directly into
site/{name}/in this repo instead of individual GitHub Pages per repo. The full site — index, repo landing pages, and all deep arch-docs pages — serves fromrepos.supermodeltools.comwith no Workers needed.How it works
Each repo's
arch-docs.ymlnow:supermodeltools/arch-docs@mainwithbase-url: https://repos.supermodeltools.comsite/{name}/build-index.ymltriggers onsite/**changes, so any arch-docs push redeploys the full site.generate-index.goskips generating landing pages for repos where arch-docs already exist insite/{name}/.After merging
contents:writeon this repo, add asBOT_TOKENorg secret (or per-repo secret)./update-arch-docs-workflows.shto push the new workflow to all 14 existing reposarch-docs.ymlworkflow for initial deploysrepos.supermodeltools.comCNAME →graphtechnologydevelopers.github.io🤖 Generated with Claude Code