Add blog publishing checklist and preview links#126
Open
Conversation
Two new CI features for blog post PRs: - Instant checklist comment with review/preview/merge steps - Preview links comment with clickable URLs to the post and blog listing, posted after the Netlify deploy completes Also adds a "Getting published" section to the blog authoring guide.
✅ Deploy Preview for posit-open-source canceled.
|
Publishing checklist
|
Preview linksPosts in this PR: Blog listing: https://69d008db5db9bb088ff6efc1--posit-open-source.netlify.app/blog/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/blog-checklist.yml): posts an interactive publishing checklist when a PR touchingcontent/blog/is opened — get a review, check the preview, check the listing, mergeHow it works
The checklist comment is posted once (on PR open/reopen) and left alone so checkbox state persists. The preview links comment is posted/updated after each deploy since the Netlify URL changes per push.
Preview link resolution uses the built
public/directory to find each post's actual URL, so it correctly handlesslugoverrides and Hugo's section flattening.Test plan
content/blog/, so it should trigger)content/blog/gets neither comment