
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeWhen you host your Studio on Netlify, the build process (running sanity build or npm run build) only creates the static files for your Studio interface—it does not deploy your schema. So yes, you still need to run sanity deploy separately if you want to use features that require a deployed schema.
Here's the distinction:
What sanity build does (what Netlify runs):
dist folder that Netlify servesWhat sanity deploy does (separate command):
*.sanity.studio domain (if using Sanity's hosting)When you need to run sanity deploy:
When you don't need it:
For most self-hosted setups on Netlify, you can skip sanity deploy unless you specifically need those AI-powered features. Your Netlify build handles everything needed for a functioning Studio interface.
If you do need schema deployment, you can add it to your CI/CD pipeline by running SANITY_AUTH_TOKEN=<your-token> sanity schema deploy as part of your deployment process.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store