From cee6ecfc693dfb1ebd73de6a33bd8e94a24a732f Mon Sep 17 00:00:00 2001 From: spokequenouille Date: Tue, 1 Dec 2020 15:22:06 +0100 Subject: [PATCH] yo --- test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 test.sh diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..611e016 --- /dev/null +++ b/test.sh @@ -0,0 +1,8 @@ +#! /bin/bash + +HEROKU_APP_NAME="limitless-reaches-59900" +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