diff --git a/.circleci/dep_heroku.sh b/.circleci/dep_heroku.sh new file mode 100644 index 0000000..f7beaf5 --- /dev/null +++ b/.circleci/dep_heroku.sh @@ -0,0 +1,5 @@ +HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/` +if [ "$HTTPCODE" -ne 200 ];then + echo "heroku app not responding, failing deploy" + exit 1 +fi