Skip to content

feat: static dashboard build pipeline for GitHub Pages - #16

Merged
castroquiles merged 1 commit into
mainfrom
feat/static-dashboard-build
Jun 6, 2026
Merged

feat: static dashboard build pipeline for GitHub Pages#16
castroquiles merged 1 commit into
mainfrom
feat/static-dashboard-build

Conversation

@castroquiles

Copy link
Copy Markdown
Owner

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.

- 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.
@castroquiles
castroquiles merged commit 9664d20 into main Jun 6, 2026
@castroquiles
castroquiles deleted the feat/static-dashboard-build branch June 6, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant