Repository navigation
Deploy the viewer to GitHub Pages - #7
Merged
Merged
Conversation
Add a GitHub Actions workflow that builds the self-contained viewer (python3 scripts/build_viewer.py) and publishes dist/ to GitHub Pages. Because dist/ is a gitignored build artifact, the site is built in CI on every push to main rather than committed — the live page always matches main. Requires a one-time repo setting: Settings -> Pages -> Source: GitHub Actions. Co-Authored-By: Claude Opus 4.8 <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.
Summary
Adds a GitHub Actions workflow (
.github/workflows/deploy-viewer.yml) that builds the self-contained viewer and publishes it to GitHub Pages on every push tomain.Because
dist/is a gitignored build artifact, the site is built in CI (python3 scripts/build_viewer.py) rather than committed — so the live page always matchesmainand the repo stays artifact-free. All viewer assets are inlined, so it serves correctly from the Pages project subpath with no base-path fixups.One-time setup required
After merge, enable Pages once: repo Settings → Pages → Source: GitHub Actions. The workflow can also be run manually via workflow_dispatch.
Once enabled, the viewer will be live at:
https://tbfangel.github.io/software-design-resources/Notes
pages: write,id-token: write) and apagesconcurrency group so deploys don't overlap.validate-okf.ymlcheck is unaffected.🤖 Generated with Claude Code