How to cancel deployment if any part of the build fails or throws an error?
I set up a tiny build script for my site at https://github.com/ReactFinland/future-frontend-site/blob/main/build.sh . The question is, how can I cancel the current deployment if any part of the script throws an error? Right now that's resulting in semi-working deploys that may be missing files.
GitHub
Contribute to ReactFinland/future-frontend-site development by creating an account on GitHub.
