Replies: 1 comment 2 replies
-
Are you using custom build commands? Does your build command return an exit code != 0 if it fails? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I have a hook that I need to run after the build step, but before deploying. As a result I've defined a
hook
that looks like this:This works excellent, however, my build step sometimes fails and I'd like to prevent my
hook
from running if the build step fails. Is this possible? I would assume so since the deployment step doesn't run if the build fails. What can I do?For some context, my
hook
runs a database migration before deployment so having a migration that runs after a failed build causes some small problems. Thanks for any insight!Beta Was this translation helpful? Give feedback.
All reactions