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