DMGT-TECH / authenticated-cloud-docs

A repository that deploys documents to the cloud for secured access via Azure Active Directory
MIT License
0 stars 0 forks source link

Add support for a single preview subdomain for PRs to main #12

Open plaurent opened 3 years ago

plaurent commented 3 years ago

Allow content editors to see a live preview of their content/changes without requiring push to master. Pull requests (targeting master) would be rendered to a preview site.

The subdomain of the preview versus the main URL, as well as their redirect URLs, should be configurable.

The Github Action would post a comment back on the pull request with the URL to which the site was published.

plaurent commented 3 years ago

Originally I considered having a separate subdomain for each PR # (somewhat similar to what Netlify does), but this would require us to automatically create install new callback URLs into the registered Azure AD application. (And that set up is manual for now.)