Trigger Netlify build hook when a node is published.
This module is has no requirements beyond Drupal core 8.x.
Install the module as every other module.
composer require drupal/netlify
/admin/config/services/netlify and add in the build hook URL and select
the content types you want to trigger the build on Netlify.