Content Deep Dive
Previewing your posts — how to build the best decoupled content management workflow for your static site
Blog post from Netlify
Post Details
Company
Date Published
Author
Salma Alam-Naylor
Word Count
2,284
Company Posts That Month
Language
English
Hacker News Points
-
Summary
This article describes how to preview draft content on a static site powered by data from a Content Management System (CMS), specifically using Netlify and Contentful. The process involves creating a new branch deploy in Netlify, setting up a build hook URL to deploy the preview branch to a live URL, creating a custom Contentful app that triggers the build hook, deploying the new Contentful app to Netlify, and automating the deployment of the preview branch using a GitHub Action. This allows developers to preview their draft content without publishing it to production, giving them peace of mind and confidence to hit the publish button.
Trends Found in this Post
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Developer Experience | 1 | 200 | 81 | 42 | -10% |