Blue-Green Deployments for Static Sites, Explained
If you've ever uploaded a site over FTP, you've probably seen it: for a few seconds, visitors get a page with new HTML but old CSS, or a missing file. Blue-green deployment is the technique that prevents this. This post explains how it works for static sites, and how LaunchPad uses it on every deploy.
The problem with updating files in place
A simple deploy copies new files over the old ones. While that copy runs, the site is a mix of two versions. A visitor might load the new index.html that points at app.4f2a.js before that file has finished uploading. If the build or upload fails halfway, the site stays broken until someone fixes it.
Blue and green
Blue-green deployment keeps two complete copies:
- Blue is the version visitors see right now.
- Green is the new version, built and copied in full alongside it.
Visitors keep using blue while green is prepared. Only when green is complete and checked does the server switch, in one step, so that green becomes live. There's no in-between state.
How LaunchPad does it
- Build in isolation. Your code is built in a throwaway container. The live site isn't touched.
- Prepare a new release. The build output is copied into its own release folder, next to the live one.
- Switch atomically. A single pointer called
currentmoves to the new release. The web server follows it immediately. - Keep the old ones. Your last 5 releases stay on the server.
If any step fails, for example a build error or a missing output folder, the switch never happens. Visitors keep seeing the last good version, and the deployment shows the error in its log.
Instant rollback
Because recent releases stay on the server, going back is just moving the pointer again. In LaunchPad, open an earlier successful deployment and click Rollback. The old version is live within seconds, with nothing rebuilt or re-uploaded. Then fix the bug and push; the next deploy becomes live as normal.
What this means for you
- No downtime while deploying, even for large sites.
- No broken pages from half-finished uploads.
- A failed build never takes your site down.
- Mistakes are cheap: one click takes you back.
All of this is built in on every plan, including Free, with nothing to configure.
Want an extra safety net?
You can also download any successful release as a ZIP from its deployment page: exactly the files that were live, as a backup or for moving elsewhere.
Next steps
- Read how deployments work in the docs.
- See how LaunchPad compares with Netlify, Vercel and Cloudflare Pages.