v1.0.0Version 1.0: 122 business website templates in Tailwind HTML, Tailwind + Vite, Next.js, React, Astro, Vue, Nuxt, SvelteKit and Laravel.

Docs/05 Ship

Deploy a static site

Build your Briks template to the out folder and deploy the static site to Cloudflare Workers, Netlify, Vercel, GitHub Pages or any shared host.

Updated 23 November 2026

You can put a static template online on any host that serves files. This page covers the 115 static templates. Feature templates are covered in Deploy a Node site.

Build the site

  1. Set your endpoint for forms in content/owner.ts. See Forms.
  2. Run SITE_URL=https://your-domain.com npm run build, with your own address. The sitemap uses SITE_URL, and without it the sitemap points at https://example.com.
  3. Check the out/ folder. next.config.ts uses output: "export", so out/ holds plain HTML, CSS, JavaScript and pictures.

Netlify

  1. Add your project to a Netlify site.
  2. Set the build command to npm run build.
  3. Set the publish directory to out.

Vercel

  1. Import your project into Vercel.
  2. Use the build command npm run build.
  3. Set the output directory to out.

GitHub Pages

  1. If the site is served from a project address such as /repo-name/, set basePath in next.config.ts to "/repo-name". A custom domain or a user site at the root does not need it.
  2. Run SITE_URL=https://your-domain.com npm run build.
  3. Publish the contents of out/ through GitHub Pages.

Deploy to Cloudflare Workers

This is for the 115 static templates. Templates with features need a Node server and a database, so they use a Node host. See Deploy a Node site.

Requests to static assets on Workers are free and unlimited. The free plan allows 20,000 files per site and 25 MiB per file.

  1. Add a file named wrangler.jsonc in the project root. It is not included in the template. Use today's date for compatibility_date.
{
  "name": "my-site",
  "compatibility_date": "yyyy-mm-dd",
  "assets": {
    "directory": "./out",
    "html_handling": "auto-trailing-slash",
    "not_found_handling": "404-page"
  }
}
  1. Build the site with SITE_URL=https://your-domain.com npm run build.
  2. Run npx wrangler login. It opens your browser.
  3. Run npx wrangler deploy. It uploads out/.

auto-trailing-slash serves folder pages such as about/index.html at /about/. 404-page serves the site's 404.html with a 404 status. No Worker script is needed.

Deploy from Git

  1. In the Cloudflare dashboard, open Workers and choose Create application.
  2. Connect your GitHub or GitLab repository.
  3. Set the build command to npm run build and the deploy command to npx wrangler deploy.
  4. Make sure the Worker name in the dashboard matches name in wrangler.jsonc.

Use a custom domain

  1. Check that the domain is on Cloudflare.
  2. Open your Worker, then Settings, then Domains & Routes.
  3. Choose Add, then Custom Domain, and enter the domain.

An nginx or Apache server, or shared hosting

  1. Run npm run build.
  2. Upload the contents of out/ to the folder your server or host serves.

Before you launch

  • Turn off noindex in content/owner.ts. See SEO.
  • Open every page and send a test through each form.
Next · 05 ShipDeploy a Node sitePut a Briks feature template online on a Node host: set the environment, migrate, build, start, add a reverse proxy, HTTPS and IP_HEADER.

Your next client site is mostly built.

122 websites, $79 once, for every site you build. New templates and updates are free for life.

Works with any AI agent

  • Claude
  • Claude Code
  • OpenAI
  • Codex
  • Grok
  • Grok Bot
  • OpenClaw
  • Hermes Agent
  • Gemini
  • Antigravity
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Cline
  • Kiro
  • Junie
  • Replit
  • v0
  • Ollama

+ any agent that reads AGENTS.md