PR Preview feature

This repository contains a GitHub Actions workflow that builds a PR preview of the Jekyll site and publishes it under the gh-pages branch to a subfolder per PR.

Preview URL pattern

What is included in the preview

Permissions required

Pages configuration

Testing the preview

  1. Open a pull request that modifies a draft post or any content.
  2. The PR Preview workflow will run and, if successful, push the built site to gh-pages under previews/pr-<PR_NUMBER>/.
  3. The workflow will post a comment on the PR with the preview URL. It will update the same comment on subsequent commits.

Notes and troubleshooting

If you need help enabling repository permissions or testing, ping the maintainers.

– Generated: PR Preview workflow