Browse Source

Create test.sh

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

5
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
Loading…
Cancel
Save