Youssef Touggani 6 years ago
parent
commit
38ac49f278
  1. 5
      .circleci/dep_heroku.sh

5
.circleci/dep_heroku.sh

@ -0,0 +1,5 @@
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