aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 0446184..16a9e13 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -3,6 +3,9 @@
# WARNING: This will most likely destroy any current infrastructure if protections
# are not in place. Be careful!
+# Exit if any command has a non-zero status
+set -e
+
echo "WARNING: This script will destroy any infrastructure for testing."
echo "It should not be used once a proper deployment has been setup."
echo "Would you like to continue?"
git.ajschof.me — hosted by ajschofield — powered by cgit