Skip to content

[WIP] Add natively supported website PR previews functionality - #10019

Closed
charlieforward9 with Copilot wants to merge 2 commits into
masterfrom
copilot/add-website-pr-previews-support
Closed

charlieforward9 with Copilot wants to merge 2 commits into
masterfrom
copilot/add-website-pr-previews-support

Conversation

Copilot AI commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor
  • Explore repository structure and existing workflows
  • Research rossjrw/pr-preview-action (v1.8.1)
  • Create .github/workflows/pr-preview.yml that:
    • Triggers on pull_request_target events (labeled, unlabeled, synchronize, reopened, closed)
    • Deploys a preview when the "preview" label is added/present
    • Removes the preview when the PR is closed or the "preview" label is removed
    • Uses same build setup as existing website.yml (yarn bootstrap + website build with API keys)
    • Uses rossjrw/pr-preview-action to deploy to gh-pages branch under pr-preview/pr-{number}/
  • Verify workflow YAML is valid

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: charlieforward9 <[email protected]>
@charlieforward9

Copy link
Copy Markdown
Member

Try again

@chrisgervang

Copy link
Copy Markdown
Collaborator

There are a few ideas floating on how we could do this. Opened #10022 to discuss

@charlieforward9

Copy link
Copy Markdown
Member

Great - ill hold this in the drafts till we figure it out

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.

3 participants