CLI reference

Deploy CLI command reference

Deploys a statically built Sanity studio

What --no-build skips

By default, sanity deploy builds the Studio through Vite, extracts your schema and manifest, packages everything, and uploads it to Sanity hosting. Passing --no-build skips the build step but still runs schema extraction and upload. The dist/ directory must already exist. To make schema extraction fail instead of warn, pass --schema-required.

Was this page helpful?