Previews and Deployment

Welcome to the sixth article in the getting started with Prismic & Gatsby tutorial series. We'll be talking about the Preview feature and how to deploy your site!

🕙 Before reading

If you haven't already gone through the first five articles in this series, we recommend starting with the first article and working your way to this one. After that, this article will make much more sense.

Previews with HOCs and Manual Previews

The gatsby-source-prismic plugin offers two ways of integrating the Preview functionally to your project: a Manual integration process or the Previews with High Order Components. It is up to you to choose which one is the best fit for your needs.

The integration process to enable Previews is beyond this tutorial series's scope. To learn how to do this, please refer to the guidelines below:

Prismic + Gatsby Cloud for previews and deployments

We highly recommend that you integrate your project with Gatsby Cloud. This integration will allow you to:

  • Deploy your project
  • Run incremental builds
  • Get instant feedback on site performance
  • And of course, use Previews

We have a dedicated article showing you how this integration is done step by step. This article is a little bit more extensive, so here we will only mention it and invite you to read the full documentation for it: