Chapter 14: Deployment Using Netlify and Azure
In the last chapter, we prepared our website for deployment. We added style to the components using Tailwind CSS. Lastly, we cleaned up the layout and refactored the code to components. Now, we can look more closely at the last component of the Jamstack used in this book: Netlify. Netlify is used as the default platform for the Blog with Gatsby example that was created at https://sanity.io/create. At the time of writing this book, Microsoft has added the Static Web Apps service, providing yet another option for deployment. Since GitHub and Azure are both owned by Microsoft, there is an excellent integration between the Static Web Apps service and GitHub.
This chapter first introduces the Netlify serverless continuous deployment hosting service, which automates many of the tasks that previously either needed to be developed or performed manually, and then demonstrates Azure Static Web Apps as an alternative for developers who may already...