|
|
@ -1,5 +1,4 @@ |
|
|
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://whispering-garden-62583.herokuapp.com/` |
|
|
|
|
|
HTTPCODE=$(echo $HTTPCODE | tr -d ' ') |
|
|
|
|
|
|
|
|
HTTPCODE=$(echo `curl -s -o /dev/null -w "%{http_code}" https://whispering-garden-62583.herokuapp.com/` | tr -d ' ') |
|
|
#statements |
|
|
#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" |
|
|
|