# Netlify
# Netlify build plugin
Our Netlify build plugin can run PageWatch audits automatically from pull request previews or production builds.
# Installation
- Install the plugin using
yarn
:
yarn add netlify-build-plugin-pagewatch
- Update your
netlify.toml
plugins section to reference the plugin:
[[plugins]]
package = "netlify-build-plugin-pagewatch"
- Grab your PageWatch Api Key and store it as the
PAGEWATCH_SITE_KEY
environment variable in your Netlify build settings.
That is it, now a PageWatch audit will be automatically run whenever you create a production build.
# GitHub integration
You can run PageWatch as part of your continuous integration process. On every pull request or deploy you'll be able to test your site and catch any issues before it becomes an issue.
See the GitHub app instructions
← GitHub