@fool Ok, so according to @marcus 's post, the “hooks will never be ignored/cancelled”.
We use the hooks to automatically trigger builds on our site (periodically), but we have a condition for the build to go ahead, which I was hoping to check with the ignore
bash script. If the hooks bypass this ignore
script, how could I achieve this?
I have also created a build plugin onPreBuild
to cancel the deploy then (utils.build.cancelBuild()
). However, it takes 2 and half minutes to get to this, as it installs all the yarn dependencies first. Would this 2 and half minutes be deducted from our account? Is there a way to cache/skip the node_modules
of these yarn packages?
Thanks guys.