TL;DR: Is it possible to set a deploy command in my
netlify.toml based on a build hook?
I’m trying to run a different command when building the site from my build hook then from building the site from merging a PR. I’ve thought about setting a build command base on the
trigger_title but ran in the problem of not being able to run any logic (if/else) commands in my
The reason I want to try this is because of the new release from Nuxt where they included separate build commands for restarting webpack and generating the routes. So when my build hook comes from my CMS I only want to re-generate the routes.
If anybody has a solution or a different kind of workable approach to this that would be great