Skip to content

ci: add GitHub Pages pull request previews - #65

Merged
isaaclins merged 1 commit into
mainfrom
ci/pr-previews
Aug 5, 2026
Merged

ci: add GitHub Pages pull request previews#65
isaaclins merged 1 commit into
mainfrom
ci/pr-previews

Conversation

@isaaclins

Copy link
Copy Markdown
Owner

What changed

  • Publish the Hugo production build to gh-pages with JamesIves/github-pages-deploy-action.
  • Preserve pr-preview/ during production deploys with clean-exclude: pr-preview/, single-commit: false, and force: false.
  • Add static/CNAME with the exact contents isaaclins.com.
  • Build pull request previews with rossjrw/pr-preview-action at https://isaaclins.com/pr-preview/pr-<number>/ and remove them when the pull request closes.
  • Document the Pages source and CNAME requirements.

Cutover sequence

  1. Merge this pull request.
  2. Confirm the gh-pages branch is populated by pages-deploy and its root CNAME contains isaaclins.com.
  3. Flip the GitHub Pages source to deploy from the gh-pages branch at the repository root.
  4. Verify that https://isaaclins.com/ still serves the production site.
  5. Only then expect new or updated pull requests to receive previews.

This pull request does not change the GitHub Pages setting. It must remain workflow until the branch deployment is populated and checked.

Copilot AI lite review requested due to automatic review settings August 5, 2026 07:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-05 07:08 UTC

@isaaclins
isaaclins merged commit b4a2cb4 into main Aug 5, 2026
2 checks passed
@isaaclins
isaaclins deleted the ci/pr-previews branch August 5, 2026 07:42
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.

2 participants