diff --git a/.circleci/config.yml b/.circleci/config.yml index bf7c55d..342fa1c 100644 --- a/.circleci/config.yml +++ b/.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