Happening this week! Hear how Amplitude built a self-serve marketing engine to drive growth 🚀

Deploy

Deploys a statically built Sanity studio

usage: sanity deploy [SOURCE_DIR] [--no-build]  [--source-maps] [--no-minify]

   Deploys a statically built Sanity studio

Options
  --source-maps Enable source maps for built bundles (increases size of bundle)
  --no-minify Skip minifying built Javascript (speeds up build, increases size of bundle)
  --no-build Don't build the studio prior to deploy, instead deploying the version currently in `dist/`

Examples
  sanity deploy
  sanity deploy --no-minify --source-maps

Was this article helpful?