Browse Source

Update test.sh

main
khelia 6 years ago
parent
commit
5143caa6b9
  1. 2
      test.sh

2
test.sh

@ -1,4 +1,4 @@
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/`
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

Loading…
Cancel
Save