Sanity Pioneers: Get early access to betas, extra AI credits, and a direct line to the engineering team. Apply now

How to apply schema changes after updating in GitHub browser?

22 repliesLast updated: Nov 29, 2025

I've updated my schema within the github browser page (didn't have a copy locally), what do I need to do for the new schema to be used? I published it to the main branch.
AI Update

When you update your schema in GitHub and push it to the main branch, you need to deploy your Studio for those schema changes to take effect. Here's what you need to do:

The sanity deploy command does two important things:

This schema deployment is important because other parts of the Sanity Content Operating System (like AI Agent Actions and other features) rely on the deployed schema, not just the files in your repository.

If you're hosting your Studio on another platform like Vercel or Netlify instead of using sanity deploy, you'll need to trigger a rebuild on that platform. However, keep in mind that using sanity deploy is the recommended approach because it automatically handles schema deployment and integrates seamlessly with Sanity's platform features.

Note: If you're using GitHub Actions or another CI/CD pipeline, the deployment might happen automatically when you push to main, depending on your workflow configuration. Check if you have any automation set up in your .github/workflows directory.

Show original thread
22 replies

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