From f3512f5a272317f9fc741874854acd0615eebb21 Mon Sep 17 00:00:00 2001 From: Julien Dudek <46819368+J-Dudek@users.noreply.github.com> Date: Tue, 1 Dec 2020 16:08:22 +0100 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e4051b0..82066ce 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://$HEROKU_APP_NAME.herokuapp.com/` - if [ "$HTTPCODE" -ne 200 ];then + if [ "$HTTPCODE" -ne 200 ]; + then echo "heroku app not responding, failing deploy" exit 1 - fi + fi workflows: version: 2