Implement Netlify deploy previews for our pull requests on GitHub to improve our review process and catch visual issues early.
Background
Netlify offers a feature to automatically deploy previews for pull requests. This allows reviewers to see the changes in a live environment before merging.
Tasks
[ ] Sign up for a Netlify account
[ ] Connect our GitHub repository to Netlify
[ ] Configure Netlify build settings
[ ] Set the build command (e.g., npm run build)
[ ] Specify the publish directory (e.g., build or dist)
[ ] Enable deploy previews for pull requests in Netlify settings
[ ] Add a netlify.toml file to our repository root with basic configurations
[ ] Set up GitHub status checks to require successful Netlify deploys
[ ] Update our PR template to include a link to the Netlify preview
Every new pull request should automatically generate a Netlify preview deployment. The PR should include a link to this preview, allowing reviewers to interact with the changes in a live environment.
Objective
Implement Netlify deploy previews for our pull requests on GitHub to improve our review process and catch visual issues early.
Background
Netlify offers a feature to automatically deploy previews for pull requests. This allows reviewers to see the changes in a live environment before merging.
Tasks
npm run build
)build
ordist
)netlify.toml
file to our repository root with basic configurationsResources
netlify.toml
fileExpected Outcome
Every new pull request should automatically generate a Netlify preview deployment. The PR should include a link to this preview, allowing reviewers to interact with the changes in a live environment.