smallforce app deploy
Build an immutable release and activate Preview or the selected environment
This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.11. Run smallforce app deploy --help locally to view the same reference for your installed version.
Complete command help
Usage: smallforce app deploy [options]
Build an immutable release and activate Preview or the selected environment
Options:
--artifact <path> Existing ZIP; skips build and packaging
--environment <name> Activate this environment after the release is ready (default:
"preview")
--build-command <command> Override smallforce.json build command
--output <directory> Override the configured output directory
--name <name> Application name when adopting a project
--slug <slug> Application slug when adopting a project
--skip-build Package the existing output without rebuilding
--timeout-seconds <seconds> Terminal status timeout (default: "120")
--poll-interval-ms <milliseconds> Status poll interval (default: "500")
--api-key <key> SmallForce API key, or set SMALLFORCE_API_KEY
--backend-url <url> SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
--json Print stable machine-readable JSON
--text Print human-readable text
--format <format> Output format: text or json
-h, --help display help for command
Related reference
smallforce app: Parent command and related operations.- CLI installation and authentication: Install the CLI and configure an API key.
- CLI JSON output: Use stable machine-readable output in scripts and agents.