From 75d45e140741e0c5c254d508de937554215c8e6d Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sat, 20 Jan 2018 19:33:51 -0800 Subject: [PATCH] set -e to deploy.sh --- bin/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/deploy.sh b/bin/deploy.sh index 72c661b..48560d0 100755 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash # Don't deploy if commit contains WIP +set -e if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [[ $(git log -1 --pretty=%B --no-merges) != *"WIP"* ]]; then NOW_URL=$(now -e NODE_ENV=production --public --no-clipboard --team=dawn --token "$NOW_TOKEN")