From 4373438eb61eb299d71c736509057863dd14a54f Mon Sep 17 00:00:00 2001 From: Louis Dutoit Date: Tue, 1 Dec 2020 17:19:20 +0100 Subject: [PATCH] smoke test fix --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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