Add sync-d1 workflow: issue edits reconcile the catalog into D1

This commit is contained in:
Prad Nukala
2026-08-24 19:26:55 -04:00
parent 3aa8d50644
commit 6b9a259ec7
3 changed files with 41 additions and 1 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ flowchart LR
| `scripts/` | Flat Bun TS: automation entries (shebang + top-level await) and libraries (no shebang, side-effect-free on import) |
| `docs/` | Blume site. `docs/solutions/(<category>)/<num>-<slug>.mdx` generated by sync; `(algorithms)/`, `(data-structures)/` hand-written explainers |
| `api/` | Cloudflare Worker (own Bun workspace): `src/` modules, `data/schedule.json` (day → topic issue, human-edited, bundled at deploy), `migrations/`, `scripts/import-srs.ts` |
| `.github/workflows/` | deploy (docs), close-solved, close-topics — Worker deploys are manual (`bun run api:deploy`) |
| `.github/workflows/` | deploy (docs), close-solved, close-topics, sync-d1 (issue edits → `/admin/reconcile`) — Worker deploys are manual (`bun run api:deploy`) |
## Development Commands