|
|
@ -1,5 +1,4 @@ |
|
|
HTTPCODE=$(echo `curl -s -o /dev/null -w "%{http_code}" https://whispering-garden-62583.herokuapp.com/` | tr -d ' ') |
|
|
HTTPCODE=$(echo `curl -s -o /dev/null -w "%{http_code}" https://whispering-garden-62583.herokuapp.com/` | tr -d ' ') |
|
|
#statements |
|
|
|
|
|
if [ "$HTTPCODE" -ne 200 ];then |
|
|
if [ "$HTTPCODE" -ne 200 ];then |
|
|
echo "heroku app not responding, failing deploy" |
|
|
echo "heroku app not responding, failing deploy" |
|
|
exit 1 |
|
|
exit 1 |
|
|
|