Browse Source

first commit

main
hallouma875 6 years ago
parent
commit
21fc9f57a8
  1. 10
      .circleci/config.yml

10
.circleci/config.yml

@ -125,11 +125,11 @@ jobs:
- run:
name: Smoke Test
command: if [[ "$HTTPCODE" -ne 200 ]]; then
echo "heroku app not responding, failing deploy" \
exit 1 \
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://desolate-oasis-37147.herokuapp.com/`
fi
command: 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
workflows:
version: 2

Loading…
Cancel
Save