From 856c02bdff3e07445e3a09ac69aa6f85c6b91bca Mon Sep 17 00:00:00 2001 From: guidezSeb Date: Sat, 16 Jan 2021 17:43:01 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20smoke=20check=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e73424c..a7d4269 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,10 +69,10 @@ jobs: command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles` - run: name: Smoke check - command: if [ "$HTTPCODE" -ne 200 ];then + command: if [[ "$HTTPCODE" -ne 200 ]];then echo "heroku app not responding, failing to deploy" exit 1 - fi; + fi docker-build-push: working_directory: /dockerapp docker: