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.
bunny sites deploys static sites and single-page apps. A site is a storage zone that holds your deploys and a pull zone that serves the live one. The CLI detects your framework, runs the build, and uploads the output. See the framework guides for per-framework setup.
Most subcommands default to the site linked in .bunny/site.json. Pass a site name or storage zone ID, or --site <name>, to target another site.
bunny sites create
Create a site and link the current directory to it.
The storage zone, pull zone, and b-cdn.net subdomain are named sites-<name>-<suffix>. In a GitHub repository, the CLI offers to set up GitHub Actions deploys.
bunny sites deploy
Upload a directory and publish it as the live site.
The directory defaults to sites.dir in bunny.jsonc, then the detected framework’s output directory, then the current directory. Unchanged content is skipped. Each deploy is stored under its own ID (the git commit SHA or a content hash), so you can publish any earlier deploy again without uploading it.
bunny sites deployments
List, publish, and delete deploys.
prune always keeps the current and previous deploys.
bunny sites ci init
Add a GitHub Actions workflow at .github/workflows/bunny-sites.yml that deploys the site on every push to main. The workflow can also be run by hand from the Actions tab.
The workflow reads your API key from a BUNNYNET_API_KEY repository secret. The CLI offers to add it with gh secret set BUNNYNET_API_KEY.
bunny sites domains
Manage custom domains for a site. The first custom domain you add becomes the site’s production URL.
bunny sites ssl
Redirect HTTP to HTTPS on the site’s b-cdn.net address.
Other commands
Configuration
bunny sites reads a sites block from bunny.jsonc. See Site configuration.Last modified on October 15, 2026