A Netlify Build plugin that skips not affected apps in your nx monorepo.
Install the module
npm i -D netlify-plugin-nx-skip-build
Add the plugin to netlify.toml
[[plugins]]
package = "netlify-plugin-nx-skip-build"
v0.0.7
allows force deployment when you need to redeploy your site and skip any plugin logic by adding NX_FORCE_DEPLOYMENT
as environment variable with value true
.
Add a new environment variable called PROJECT_NAME
that is supposed application name by netlify UI (recommended) or your .env file, so the plugin can work as expected.
Your suggestions and contribution are very welcome to make this plugin helpful.