rossjrw / pr-preview-action

GitHub Action that deploys a pull request preview to GitHub Pages, similar to Vercel and Netlify, and cleans up after itself.
https://github.com/marketplace/actions/deploy-pr-preview
MIT License
255 stars 39 forks source link

Fix link to preview branch #71

Closed netomi closed 7 months ago

netomi commented 7 months ago

When appending the message to the pull request after deploying the preview, the link to the branch is wrong as it uses the wrong repo. Instead of deployrepo the repo of the pull request is used.

netomi commented 7 months ago

Here is an example of a wrong link: https://github.com/eclipse-langium/langium-website/pull/212

In this setup we deploy previews from the eclipse-langium/langium-website to the eclipse-langium/langium-previews repo

The link goes to langium-website instead of langium-previews

rossjrw commented 7 months ago

Resolves #50

Thanks for the contribution @netomi!