Browse Source

smoke test fix

main
Louis Dutoit 6 years ago
parent
commit
4373438eb6
  1. 3
      .circleci/config.yml

3
.circleci/config.yml

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

Loading…
Cancel
Save