Skip to content

Build PR previews on pull_request and publish them on workflow_run - #499

Merged
simonebortolin merged 1 commit into
mainfrom
claude/pages-workflow-split
Oct 9, 2026
Merged

simonebortolin merged 1 commit into
mainfrom
claude/pages-workflow-split

Conversation

@simonebortolin

Copy link
Copy Markdown
Contributor

preview-pr now runs on pull_request, so the PR code is built with no secrets and a read-only token, and no longer needs pull_request_target, which GitHub restricts by default from November 2, 2026. preview-deploy runs from the default branch: after the manual approval for forks it checks that the PR number matches the built commit, uploads the built files to Cloudflare Pages and comments the link on the PR.

preview-pr now runs on pull_request, so the PR code is built with no
secrets and a read-only token, and no longer needs pull_request_target,
which GitHub restricts by default from November 2, 2026. preview-deploy
runs from the default branch: after the manual approval for forks it
checks that the PR number matches the built commit, uploads the built
files to Cloudflare Pages and comments the link on the PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonebortolin
simonebortolin merged commit b64f70d into main Oct 9, 2026
4 checks passed
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Preview of the website obtained from the PR: https://82e698d1.hack-gpon-preview.pages.dev

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Preview of the website obtained from the PR: https://2400f53a.hack-gpon-preview.pages.dev

@simonebortolin
simonebortolin deleted the claude/pages-workflow-split branch October 9, 2026 20:37

This branch was successfully deployed

2 active deployments
preview — d66e7a54 Deployed Oct 9, 2026 by simonebortolin via deploy #370
internal — d66e7a54 Deployed Oct 9, 2026 by simonebortolin via authorize #370
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.

1 participant