Skip to content

Add blog publishing checklist and preview links#126

Open
cwickham wants to merge 11 commits intomainfrom
blog/publishing-checklist
Open

Add blog publishing checklist and preview links#126
cwickham wants to merge 11 commits intomainfrom
blog/publishing-checklist

Conversation

@cwickham
Copy link
Copy Markdown
Collaborator

@cwickham cwickham commented Apr 3, 2026

Summary

  • New workflow (.github/workflows/blog-checklist.yml): posts an interactive publishing checklist when a PR touching content/blog/ is opened — get a review, check the preview, check the listing, merge
  • Updated deploy workflow: after the Netlify deploy on a PR, detects changed blog posts and posts a comment with direct clickable links to the post preview and blog listing. Updates on each push.
  • Authoring guide: new "Getting published" section covering the same steps

How 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 handles slug overrides and Hugo's section flattening.

Test plan

  • Open this PR and confirm the checklist comment appears (it touches content/blog/, so it should trigger)
  • After deploy, confirm a preview links comment appears with a link to the blog listing
  • Push another commit and confirm the preview links update but the checklist stays unchanged
  • Verify a PR that doesn't touch content/blog/ gets neither comment

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.
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 3, 2026

Deploy Preview for posit-open-source canceled.

Name Link
🔨 Latest commit a479118
🔍 Latest deploy log https://app.netlify.com/projects/posit-open-source/deploys/69d00807881d2a0008cedc39

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Publishing checklist

  • Get a review — request at least one reviewer on this PR
  • Check your post — once the deploy preview is ready, a comment will appear with direct links to your post
  • Check the blog listing — confirm your post appears with the correct title, image, and description
  • Merge — once everything looks good and you have an approving review, merge to main

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

@github-actions github-actions bot temporarily deployed to pull request April 3, 2026 16:35 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 3, 2026 16:41 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 3, 2026 16:48 Inactive
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

@posit-dev posit-dev deleted a comment from github-actions bot Apr 3, 2026
@posit-dev posit-dev deleted a comment from github-actions bot Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant