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
267 stars 43 forks source link

Set preview URL as action output #16

Closed EndBug closed 2 years ago

EndBug commented 2 years ago

It would be nice to have the resulting preview URL as an action output, so that it can be used in different contexts. In composite actions, this can be done like this

rossjrw commented 2 years ago

Good idea. It'll be a while before I get a chance to work on this - you seem familiar with the docs, so if you feel comfortable with contributing I'd gladly accept a PR.