sandbar deploy
Deploy your site to Sandbar.
sandbar deploy [flags]| Flag | Description | Default |
|---|---|---|
--dir <path> | Build output directory | dist |
--no-activate | Upload without activating | false |
--message <msg> | Deploy message | Git commit message |
How it works
Section titled “How it works”- Reads
.sandbar/config.tomlfor site ID and build directory - Hashes all files in the build output (SHA-256)
- Sends the file manifest to the Sandbar API
- API returns upload URLs for changed files only (content-addressed dedup)
- Uploads changed files in parallel
- Finalizes and activates the deploy
Examples
Section titled “Examples”# Deploy with defaultssandbar deploy
# Deploy a specific directorysandbar deploy --dir build
# Stage without activatingsandbar deploy --no-activate --message "Staging for review"