velli.cc ships the same way every time. It is boring on purpose: the interesting work is the site, not the pipeline.
How does a change get to velli.cc?
- A branchNever straight on main
- The real Worker, locallySame code as the live site
- A pull requestRead before it is merged
- DeployOne command
The site is a folder of static files plus one Cloudflare Worker: the pages, the images and one TypeScript file that answers every URL and talks to the database. There is no build server and no container. Small Python scripts write the pages.
How do we test it before anyone sees it?
The preview is not a file server pretending to be the site. It is the same Worker, started on our machine with a local copy of the database. Clean URLs resolve, forms post, migrations apply. Then four checks:
- Build every pageThe scripts write the homepage, the guides, the sitemap and the llms files.
- Run the test benchIt runs the Worker's real code against made-up sites, with no network.
- Look at every pageScreenshots at phone and desktop width. Overlaps and cut-off text get fixed.
- Click and postForms get sent and the saved rows read back from the local database.
Anything we have not seen working counts as not done. Merged is not deployed, and written is not rendered.
What are the actual commands?
| Step | Command |
|---|---|
| Build the pages | make-home.py and build-blog.py, two Python scripts |
| Run the site locally | wrangler dev --local |
| Run the test bench | npm test |
| Deploy | bun run deploy (runs wrangler deploy) |
| Check the live site | python3 scripts/smoke.py |
| Undo a deploy | wrangler rollback with the last good version |
How do we undo a bad deploy?
Cloudflare keeps earlier versions of a Worker, so a rollback is one command. It puts the old code and files back. It does not touch the database:
Resources connected to your Worker will not be changed during a rollback.
Cloudflare Docs, Rollbacks
That is why a database change ships as a numbered migration file in the repo, applied on purpose, and the pull request says so.
What stops a mistake from going live?
A push, a merge and a deploy are the steps that are hard to take back. AI agents do a lot of our building, and on our machines those three steps are blocked for them by default. A person opens the gate for a single push, for ten minutes, on purpose. The pull request says what changed, how it was checked, and anything someone must do by hand before it goes live.
For you, that means a site that has been built, tested and clicked through before you look at it, with a written record of every change. And you keep your site, code, ad accounts and data.
Questions people ask
What does velli.cc run on?
One Cloudflare Worker with static assets and a D1 database. The Worker answers every URL, and the pages are files it serves.
Does a rollback undo database changes?
No. Cloudflare's docs say resources connected to a Worker are not changed during a rollback. Code and files go back; the database stays as it is.
Why run the real Worker locally instead of a plain file server?
A plain file server cannot run the routes, the forms or the database. Running the same Worker means what works locally runs the same code path live.
More on the stack: why we build on Cloudflare and imsg, how our agents text us.
Next step: run the free AI Read Test on your homepage. It takes a few seconds. Want us to do the work? Book a free call.
Sources: Cloudflare Docs, Rollbacks, read November 18, 2026. Commands and setup: the velli.cc repository (package.json, wrangler.jsonc, scripts/, test/), read November 18, 2026.