pr-preview-action
pr-preview-action copied to clipboard
GitHub Action that deploys a pull request preview to GitHub Pages, similar to Vercel and Netlify, and cleans up after itself.
As suggested by @aspiers in #6: [Deployment Reviews](https://docs.github.com/en/actions/managing-workflow-runs/reviewing-deployments#bypassing-deployment-protection-rules) as a potential workaround option for getting previews from forks by blocking the preview behind a manual review step, with information about...
https://github.com/scpwiki/interwiki/runs/5834681840?check_suite_focus=true This workflow run failed because it did not have permission to push to the upstream repository. I believe this happened because the workflow was executed from the fork. The...
# Why doesn't PR Preview Action support preview from forks? If you came here from the README this is probably the question you're asking. The answer is that there are...
Running this action from a fork is not currently supported. Right now, behaviour when running from a fork is undefined; I don't remember exactly what happens, I think it just...
Relates to https://github.com/rossjrw/pr-preview-action/issues/25#issuecomment-1324184104 It'd be good to be able to customise the text of the comment left by the action. I figure it should be possible to let the user...
Fixes warning at the bottom right of https://github.com/rossjrw/pr-preview-action/actions/runs/8246680558 * https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot * https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
Testing this out, and it works great! One thing I noticed is that, understandably, the action only waits for itself to finish to post the comment on the pull request....
> Preview URLs look like this: https://[owner].github.io/[repo]/pr-preview/pr-[number]/ Can we customized the path `pr-[number]`. Doesnt seem like we can
I'm working on a private repo so I hope you not having access to it won't be an issue, but what I'm facing right now is that the comment gives...
### Description: Will allow for generating a URL to the correct preview when serving GitHub pages from any directory other than the root directory. Adds a new optional param which...