Add GitHub Actions workflow for PR preview deployments#701
Merged
adamkudrna merged 1 commit intomasterfrom Mar 27, 2026
Merged
Conversation
Contributor
|
adamkudrna
commented
Mar 21, 2026
b7d4baf to
4289ec9
Compare
e2fe109 to
729cff0
Compare
bedrich-schindler
requested changes
Mar 22, 2026
729cff0 to
0173efb
Compare
Member
Author
|
I added paths to ignore so branches like this are no longer needlessly deployed. |
bedrich-schindler
approved these changes
Mar 24, 2026
Builds and deploys a static site preview for each pull request using rossjrw/pr-preview-action, hosted on the gh-pages branch under pr-preview/pr-N/. Each preview is linked to a GitHub Deployment so the PR interface shows a direct "View deployment" link; deployments are set to inactive and their GitHub Environment is deleted when the PR is closed, preventing stale entries from accumulating in the repository's Environments list. https://claude.ai/code/session_01KZiK5msUrKzwfwbddbxz3u
3218510 to
726e62f
Compare
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
This PR adds a new GitHub Actions workflow that automatically builds and deploys preview versions of the documentation for pull requests.
Key Changes
.github/workflows/deploy-preview.ymlworkflow that:npm run buildgh-pagesbranch underpr-preview/directory using thepr-preview-actionImplementation Details
contents: writeandpull-requests: writepermissionsubuntu-24.04https://claude.ai/code/session_01KZiK5msUrKzwfwbddbxz3u