Skip to content

sandbar deploy

Deploy your site to Sandbar.

Terminal window
sandbar deploy [flags]
FlagDescriptionDefault
--dir <path>Build output directorydist
--no-activateUpload without activatingfalse
--message <msg>Deploy messageGit commit message
  1. Reads .sandbar/config.toml for site ID and build directory
  2. Hashes all files in the build output (SHA-256)
  3. Sends the file manifest to the Sandbar API
  4. API returns upload URLs for changed files only (content-addressed dedup)
  5. Uploads changed files in parallel
  6. Finalizes and activates the deploy
Terminal window
# Deploy with defaults
sandbar deploy
# Deploy a specific directory
sandbar deploy --dir build
# Stage without activating
sandbar deploy --no-activate --message "Staging for review"