Hello there,
I have a NextJS Static site deployed here: _netlify app name _.
It is connected with a CMS which triggers a webhook for Netlify whenever there is a change in content to regenerate the build.
I have disabled the Automatic Builds, as I only want it to deploy only when the webhook triggers.
Apart from that, whenever there is a change in code, I already have a pipeline in place which does CI checks and after that, it builds the code and deploys it through API calls by sending the build files to Netlify.
I don’t want to Autodeploy the site whenever I push to branch.
Summary of what I need:
- Trigger build in two cases:
- When I call the netlify API with build files.
- When webhook triggers.
- Should NOT trigger the build:
- When I push the changes to branches.
Thanks in advance for your help!
Mark.