Get found, even if you can't buy ads →

How We Build, Ship and Deploy

A branch, the real Worker running locally, a pull request, one deploy command. How a change reaches velli.cc, and what keeps a mistake from going live.

The short answer

Every change to velli.cc starts on a branch. It runs locally as the same Cloudflare Worker that serves the live site, gets checked by a test bench and by screenshots, goes up as a pull request, and ships with one deploy command. If something is wrong, one command rolls the code back.

On this page
  1. How does a change get to velli.cc?
  2. How do we test it before anyone sees it?
  3. What are the actual commands?
  4. How do we undo a bad deploy?
  5. What stops a mistake from going live?
  6. Questions people ask

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?

  1. A branchNever straight on main
  2. The real Worker, locallySame code as the live site
  3. A pull requestRead before it is merged
  4. 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:

  1. Build every pageThe scripts write the homepage, the guides, the sitemap and the llms files.
  2. Run the test benchIt runs the Worker's real code against made-up sites, with no network.
  3. Look at every pageScreenshots at phone and desktop width. Overlaps and cut-off text get fixed.
  4. 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?

StepCommand
Build the pagesmake-home.py and build-blog.py, two Python scripts
Run the site locallywrangler dev --local
Run the test benchnpm test
Deploybun run deploy (runs wrangler deploy)
Check the live sitepython3 scripts/smoke.py
Undo a deploywrangler 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.

Free AI Read Test

Can AI read your site?

It reads your homepage the way ChatGPT, Claude, Perplexity and Gemini do and scores it out of 100, in seconds. No sign-up.

Talk to one of us

Want us to do it for you?

Pick a time and one of us calls you. Free, and nothing to prepare. Or call (773) 997-4600.

  • You talk to one of the two founders.
  • You see the scope before any work starts.
Book a free call

Follow along: InstagramXRSS

Next guideWhy We Build Everything on CloudflareRead it →

Get new guides by email.

One email per guide. Nothing else.