Ashish · field notes
All notes
← back to the system map
LiveInfrastructure2 min read

Publishing pipeline

Any dashboard goes from a file to a live shareable URL in about thirty seconds, and the concurrency won't corrupt itself.

I build a lot of dashboards. Getting each one from a file to a shareable link shouldn't be its own project every time. And once several scheduled jobs all publish to the same place, the real hazard is them stomping each other.

How it works

Copy a self-contained HTML file into the public directory of a git repo, commit, push, and Cloudflare redeploys it live about thirty seconds later. Several jobs on the mini publish into one shared clone, so the actual engineering is concurrency safety. There are two publish helpers with different strategies, both hardened so a wedged rebase either self-heals or fails loud, and never ships stale content.

It's live, with all the publishers hardened against the shared-clone race. Thirty seconds from idea to live URL is what lets one person run a dashboard suite that would normally take a web team.

Cheap publishing is a force multiplier. It means an agent can ship a report as a link, not just as a message.

Got an idea? Tell me →More field notes