DEV Community

Melina Reisinger
Melina Reisinger

Posted on

Bridging No-Code and DevOps: Open-Source CI/CD for WeWeb + Cloudflare Pages

The Problem That Wouldn't Go Away
I've been building with WeWeb for a while now. Mostly client projects that need the flexibility of custom code with the speed of visual development;

But there was always one thing that drove me crazy:

Every time I exported from WeWeb, it would overwrite my config files. Builds would break. I'd spend time manually fixing things. Repeat next week.

Sound familiar?

Why This Happens
WeWeb is great at what it does, but when it exports your project, it doesn't know about your custom Vite configs, your polyfills, or your deployment setup. It just gives you the raw project files.

If you're deploying to Cloudflare Pages (like I was), that means:

βœ… First deployment: works perfectly

❌ Next export: config files gone, build broken

πŸ” Manual fixes every single time

There had to be a better way.

What I Built
I created weweb-cloudflare-ci β€”an open-source CI/CD template that automates the whole process.

Here's how it works:

Clones your WeWeb project

Automatically reapplies your config files and polyfills

Builds with Vite

Deploys to Cloudflare Pages

Bonus: Preserves your original WeWeb commit messages on the live site

Why Open Source?
I figured if I was having this problem, others probably were too. WeWeb doesn't have an official CI/CD template for Cloudflare Pages, so I wanted to share what worked for me.

It's:

πŸ“¦ MIT licensed (free for anyone to use)

πŸ“ Fully documented (I tried to make setup painless)

πŸ› οΈ Production-tested (running on my own projects)

Quick Start
If you want to try it:

Fork the repo β†’ https://github.com/Mel000000/weweb-cloudflare-ci

Add your secrets (Cloudflare tokens, GitHub PATs)

Deploy the Worker with wrangler deploy

Add the Worker URL to your WeWeb export hook

That's it. Next export = automatic deployment.

What's Next?
I'd love feedback from anyone who tries it:

Does it solve your deployment headaches?

Any features you'd like to see?

Something confusing in the setup?

PRs and issues welcome! I'm also happy to help anyone get it running.

Let's Connect
GitHub: @mel000000

Project: weweb-cloudflare-ci

If you're building with WeWeb and Cloudflare, I'd love to hear about your setup too. Drop a comment below! πŸ‘‡

Top comments (0)