Add GitHub Pages PR preview deployment workflow#254
Merged
kiyarose merged 4 commits intoMay 13, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/SillyLittleTech/Portf/sessions/347cdca7-8283-4c28-ad63-8d83605460cb Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SillyLittleTech/Portf/sessions/347cdca7-8283-4c28-ad63-8d83605460cb Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
kiyarose
May 13, 2026 04:59
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated GitHub Pages preview deployment workflow for pull requests, enabling per-commit preview publishes while leaving the existing production Pages workflow unchanged.
Changes:
- Introduces a new PR-triggered workflow (
pull_request+workflow_dispatch) to build and deploy Pages previews. - Adds per-PR concurrency to cancel stale in-flight preview deployments on new commits.
- Guards deployment to avoid running preview deploys for forked PRs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
kiyarose
marked this pull request as ready for review
May 13, 2026 05:03
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.
This adds a dedicated pre-release GitHub Pages preview pipeline for pull requests so each new PR commit can publish an updated preview deployment. The existing production Pages workflow remains unchanged.
What this introduces
.github/workflows/github-pages-preview.ymlopened,synchronize,reopened,ready_for_review)workflow_dispatchPreview deployment behavior
npm run build:pagesdistartifact withactions/upload-pages-artifact@v3actions/deploy-pages@v4usingpreview: trueto target the Pages preview channelSafety and CI ergonomics
contents: read,pages: write,id-token: write,pull-requests: write)