Skip to content

Commit 7b5584f

Browse files
committed
deploy.sh debug mode
1 parent 5056d79 commit 7b5584f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deploy.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
2-
if [ x${TRAVIS_PULL_REQUEST} != xfalse ]; then
2+
set -euxo pipefail
3+
if [ "x${TRAVIS_PULL_REQUEST}" != xfalse ]; then
34
echo "Building a pull request, so not deploying"
4-
elif [ x${TRAVIS_BRANCH} != xmaster ]; then
5+
elif [ "x${TRAVIS_BRANCH}" != xmaster ]; then
56
echo "On branch '$TRAVIS_BRANCH' which isn't master so not doing a deploy"
67
else
78
echo "Not a pull request, so deploying"

0 commit comments

Comments
 (0)