Browse Source

yo

circleci-project-setup
spokequenouille 6 years ago
parent
commit
cee6ecfc69
  1. 8
      test.sh

8
test.sh

@ -0,0 +1,8 @@
#! /bin/bash
HEROKU_APP_NAME="limitless-reaches-59900"
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
fi
Loading…
Cancel
Save