Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
plaurent opened this issue May 12, 2021 · 1 comment
Open

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

plaurent opened this issue May 12, 2021 · 1 comment

Comments

@plaurent
Copy link
Contributor

plaurent commented May 12, 2021

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 plaurent changed the title Allow customization of "dev" prefix on published domain "docs" vs "docspreview" subdomain depending on if it's a open PR or a main push? May 12, 2021
@plaurent
Copy link
Contributor Author

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.)

@plaurent plaurent changed the title "docs" vs "docspreview" subdomain depending on if it's a open PR or a main push? Add support for a single preview subdomain for PRs to main May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant