feat: static dashboard build pipeline for GitHub Pages - #16
Merged
Conversation
- scripts/build_dashboard.py: injects data/initiatives.json into the dashboard template at build time, outputs dist/index.html - src/dashboard/index.html: updated to use __INITIATIVES_DATA__ placeholder, all filtering runs client-side with no backend - .github/workflows/pages.yml: builds and deploys dist/ to GitHub Pages on every push to main that touches data or dashboard files No backend required. Zero cost. Zero cold starts. To update data: edit data/initiatives.json and push to main.
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.
Replaces the FastAPI backend dependency with a static build pipeline.
The build script injects data/initiatives.json into the dashboard template
at build time. GitHub Actions deploys the output to GitHub Pages automatically
on every push to main that touches data or dashboard files.
No backend. No server. No cost. No cold starts. Works for everyone.