From 50977f2e4720f8ac9659b17ff4212459ab538c22 Mon Sep 17 00:00:00 2001 From: KheliaNibaruta <73180785+KheliaNibaruta@users.noreply.github.com> Date: Thu, 3 Dec 2020 16:52:08 +0100 Subject: [PATCH] Add files via upload --- test (1).sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test (1).sh diff --git a/test (1).sh b/test (1).sh new file mode 100644 index 0000000..ce82ca7 --- /dev/null +++ b/test (1).sh @@ -0,0 +1,5 @@ +HTTPCODE=echo $(`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` | tr -d ' ') +if [ "$HTTPCODE" -ne 200 ];then + echo "heroku app not responding, failing deploy" + exit 1 +fi \ No newline at end of file