How AI is powering better personalization in e-commerce [with Vercel]. Sign up now →

Do I need `sanity deploy` when hosting studio on Netlify after schema changes?

1 replyLast updated: Nov 29, 2025

when hosting the studio on netlify, do i still need to do sanity deploy when i make changes to the schema or will the build at netlify handle that for me? 😇
AI Update

When 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):

What sanity deploy does (separate command):

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.

Show original thread
1 reply

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

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.

Related contributions