A Netlify build plugin that blocks deployment if it outside of deployment hours.
npm i -D netlify-deployment-hours-plugin
Then add the following to your
plugins: - type: netlify-deployment-hours-plugin
There are two environment variable used to configure this plugin:
- A cron-like expression that expresses when a deployment can occur
- tz database value that expresses the timezone of the expression