Introducing environment variable support for Sanity Studio (ssr)

Written by Even Eidsten Westvang

Missing Image!

We just shipped support for environment variables for the Sanity Studio. This gives you improved continuous integration (CI) support, lets you more easily deploy studios for different projects and datasets from the same codebase, and lets you do environment-specific customizations.

The Sanity Studio is the open-source editing environment that connects with Sanity’s hosted datastore. While there is nothing keeping you from deploying the studio directly from your local machine onto our service, we have seen that most people prefer to commit the code to git and set up a deployment workflow from there. And honestly, we prefer it that way too.

To get support for environment variable upgrade your Sanity Studio (sanity upgrade) and check out the documentation to learn more.