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

Allow for serving GitHub pages from non root directory #81

Open RedSparr0w opened 5 months ago

RedSparr0w commented 5 months ago

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 will be removed from umbrella-dir to determine the correct path to the preview.

Related issues:

closes #42

Notes:

Let me know if you think there might be a better approach to this.