Browse Source

Update test.sh

main
KheliaNibaruta 6 years ago
committed by GitHub
parent
commit
7fca7583d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test.sh

2
test.sh

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

Loading…
Cancel
Save