From 5b44fb9d5db0c97a84b33ead7fba8d3b88b450c1 Mon Sep 17 00:00:00 2001 From: KheliaNibaruta <73180785+KheliaNibaruta@users.noreply.github.com> Date: Thu, 3 Dec 2020 16:14:49 +0100 Subject: [PATCH] Create test.sh --- test.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test.sh diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..66432c0 --- /dev/null +++ b/test.sh @@ -0,0 +1,5 @@ +HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` + if [ "$HTTPCODE" -ne 200 ];then + echo "heroku app not responding, failing deploy" + exit 1 + fi