In this blog, we will walk through the steps of publishing websites using Sanity CMS with 21YunBox.


Steps to deploy websites with Sanity CMS and 21YunBox:

  1. Sign up on 21YunBox
  2. Create or use existing Sanity project
  3. Fork Sanity CMS Starter on Github
  4. Use the following values during creation:
Runtime Static Site
Build Command cd web && npm install && npm run build
Publish Directory ./web/public

That’s it! Your web service will be live on your 21YunBox URL as soon as the build finishes.


Sanity CMS Starter: https://sanity-gatsby-portfolio.21cloudbox.com/
Sanity CMS Starter: https://sanity-gatsby-portfolio.21cloudbox.com/