Skip to main content
A site with no build step deploys as it is. Put index.html at the root of the folder you deploy, next to your CSS, JavaScript, and images.

Deploy your site

bunny sites is in Public Preview and available only in the Bunny CLI. It’s in active development, so commands, flags, and behaviour may change. Share feedback on Discord. The storage zone and pull zone behind each site appear in the dashboard under Storage and CDN.
1

Install the Bunny CLI and log in

See Installation for npm and other options.
2

Create a site

From the folder that holds your site, run:
The CLI creates a storage zone for your files and a pull zone to serve them, then links this directory to the new site.
3

Deploy

The CLI uploads the current directory and publishes it. To deploy a subfolder, pass its path, for example bunny sites deploy ./public.
4

Deploy on every push (optional)

This writes a GitHub Actions workflow to .github/workflows/bunny-sites.yml that deploys the site on every push to main. Add your API key to the repository as a BUNNYNET_API_KEY secret.

Add a custom domain

With the Bunny CLI, add the domain to your site:
The CLI prints the CNAME record to create with your DNS provider. Once the record resolves, issue a free certificate with bunny sites domains ssl example.com. For a manual deploy, add the hostname to your pull zone by following Custom hostnames.
Last modified on October 15, 2026