By default, a build will only be considered a failure if the last command in the hook fails. To have any command failure cause the entire hook to fail, add set -e to the start of your build hook.
hooks:
build: |
set -e
(other build hook commands)
Comments
Please sign in to leave a comment.