Customizing netlify deploy

I would like to add another step to netlify deploy to handle ZenStack zenstack generate
Is it customisable without modifying redwood code ?

You can simply change the command in your netlify.toml to do multiple commands by chaining them together.

Just “ & yarn some other zen stack command” after the deploy command — or before it if need be.

Or write a shell script that can do more complex tasks including the Netlify deploy and use that as your build command.

Netlify also has pre and post build plug-in capabilities. See Create Build Plugins | Netlify Docs

Both would be preferable than modifying Redwood cli since zenstack isn’t part of the framework.