-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fork repo PRs are not deployed to GitHub Pages #3777
Comments
Woooow, that means it hasn't worked since we moved from vercel to github pages?! 😱 Turns out I added
I'm not sure what the fix for this would be 😓 |
Suggestion from PRC planning: sounds like a fix could be similar to how we have our VRT flow set up, cc @joshblack. |
From an implementation perspective, I think this could follow a similar flow to VRT where we basically build up things like storybook and the docs and pass those along to a separate workflow that runs on workflow_run. A rough sketch of this could be:
|
Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days. |
Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days. |
This issue came up while I was reviewing one of the fork PRs (#3634) that the forks don't get deployed to GitHub Pages.
Although the job runs successfully, it doesn't deploy the commit that comes from the pull request branch, rather it checkouts out main and deploy the last
SHA
ofmain
. The reason of it does this is because onpull_request_target
theref
is the PR base branch and theSHA
is the last commit of the PR base branch. (docs reference). Also see this in the fork PR by visiting "Checking out the ref" section under "Checkout default branch" in the built job.The text was updated successfully, but these errors were encountered: