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:
- Sign up on 21YunBox
- Create or use existing Sanity project
- Fork Sanity CMS Starter on Github
- 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.
Related Articles:
- Alternatives to Sanity CMS in China
- How to Speed-Up Netlify in China
- How to Deploy Next.js to Server?
- How to host Strapi CMS with 21YunBox?
- Does Sanity Work in China?