Skip to content
Dashboard

Static Sites

Publish pre-built HTML, CSS, JavaScript, and assets without a long-running application server.

Static Sites#

A Static Site serves a generated directory of files. Choose it for plain HTML and for frameworks configured to produce a static export. Because no server process runs after the build, a Static Site does not use a start command or runtime health check.

Common output directories#

ProjectTypical build commandPublish directory
Vite or Reactnpm run builddist
Astronpm run builddist
Next.js static exportnpm run buildout
SvelteKit with a static adapternpm run buildbuild
Plain HTMLnone.

The directory must contain the final index.html and referenced assets. Review the detected framework and publish directory in the service configuration before deployment.

Next.js static export#

Set output: "export" in the project’s Next configuration, build the project, and publish out. Do not upload a normal .next directory to a Static Site; it needs a running server and should be deployed as a Frontend App.

Deploy#

Select Static Site, choose a repository or archive source, set the build command and publish directory, then deploy. Use the deployment detail page to check whether the configured output directory was found.