pr-preview-action icon indicating copy to clipboard operation
pr-preview-action copied to clipboard

Combine with `actions/deploy-pages`

Open astrojuanlu opened this issue 1 year ago • 4 comments

This workflow seems to target the "classic" GitHub Pages experience. However, nowadays there's also the newer workflow using https://github.com/marketplace/actions/deploy-github-pages-site

image

I'm trying to combine the two actions but so far I've been unsuccessful: either nothing happens, or I'm getting errors coming from actions/deploy-pages saying Branch "..." is not allowed to deploy to github-pages due to environment protection rules.

Do you have an example on how to use rossjrw/pr-preview-action with the new workflow?

astrojuanlu avatar Oct 09 '22 07:10 astrojuanlu