-
Notifications
You must be signed in to change notification settings - Fork 28
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
Remove build folder and use Netlify deploys for previews #621
Conversation
Note that I manually cancelled the |
@howard-e Workflow question: currently, the most common way we check that a build can be successfully performed is to just push up to GitHub, and let the action take care of it. Will that still be possible with the proposal outlined here? I.e. will the status of the build still be reported on the relevant PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is amazing. Thank you @howard-e !
@jscholes Instead of the Additionally, the Netlify bot could update a comment in the PR with the status around the actual site deploy. |
@howard-e I'm open to whatever. If we should just validate the tests locally instead, that's fine as a workflow change. Might actually be easier. |
387be59
to
6408cc8
Compare
…if not exists; update pr preview link (assume url will be https://aria-at.netlify.app)
6408cc8
to
0fa9641
Compare
✔️ Deploy Preview for aria-at ready! 🔨 Explore the source changes: 9342382 🔍 Inspect the deploy log: https://app.netlify.com/sites/aria-at/deploys/622f865fa88488000837a212 😎 Browse the preview: https://deploy-preview-621--aria-at.netlify.app |
#592 might resolve the need to pin to Node 12, since it's the native build that appears to be failing on a few of the other PRs that recently tried to run Netlify |
@nschonni yep, it might. This looks good to go now so let's land this one and test with that after. Wanted to also maintain parity with the node version that's been pinned in the workflows but nodegit may have been the reason why it was pinned as well. |
There has been some discussion around using Netlify to present PR previews (and by extension, serve as the published site because the repo's current site link depends on the build folder, which we are now proposing to remove).
Previous discussion can be seen at:
This PR introduces Netlify's use by:
netlify.toml
with the directives required to display the site's content through Netlify,npm run build
doesn't create build directory, fails if it doesn't exist #588 and fixed in Create build folder if it doesn't exist when runningcreate-example-tests.js
#606.Assumptions made here:
aria-at
, and so the site's url will be https://aria-at.netlify.app.Changes as a result of this:
Generate and Commit Files
workflow will need to be disabled.429: Too Many Requests
errors when viewing PR Previews)build
folder merge conflicts.NOTE
build
folder removal howard-e/aria-at#8.