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