-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
meta: add snapshot builds for pr previews #1525
Conversation
2e9a867
to
8c016c4
Compare
i managed to make this automatically apply the snapshot thing if netlify is building a non-production build. if this was set up for this repo, it believe it would automatically post this link when the pr was created. preview: https://5ce61b1a493e120007e63323--brave-elion-abb3d4.netlify.com/ vs https://brave-elion-abb3d4.netlify.com/ |
I rebased this and made the requested JSDOM.fromFile changes, and added the contentType option with a charset parameter to avoid garbling the UTF-8 characters. |
13b1ba7
to
85f905a
Compare
pretty sure changes are addressed; everything's working, so we can clean things up in a followup.
this commit adds a warning (stolen from whatpr.org) to "snapshot" builds that exist for non-reference reasons, such as pr previews.
if we add some sort of github action to auto deploy netlify or something on a new pr and then post a comment with the url, this will provide a nice preview. someone with permissions on this repo will have to set that part up.
rendered: https://5ce61b1a493e120007e63323--brave-elion-abb3d4.netlify.com/