From 38ac49f278753e58b3c5877dbcf557690b757db9 Mon Sep 17 00:00:00 2001 From: Youssef Touggani Date: Tue, 1 Dec 2020 16:55:46 +0100 Subject: [PATCH] test --- .circleci/dep_heroku.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .circleci/dep_heroku.sh 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