Skip to main content
Deploy your built frontend application to Base44’s hosting platform. The command uploads your build output to Base44, making your site available at your app’s URL. Before deploying, ensure:
  1. Your project is connected to a Base44 app. Check that your .app.jsonc file exists and contains your app ID. If not, run base44 link.
  2. Your built frontend files are in the directory specified by site.outputDirectory in your config.jsonc file.

Usage

base44 site deploy

Flags

FlagDescription
-y, --yesSkip the confirmation prompt

Configuration

The site.outputDirectory in your base44/config.jsonc tells the CLI where your build tool outputs the compiled frontend files so that it knows which files to deploy to Base44 hosting.
{
  "name": "my-project",
  "site": {
    "outputDirectory": "./dist"
  }
}

See also