From 9f120c0efbe7748eb3fc6798e76d608836e01e19 Mon Sep 17 00:00:00 2001 From: HenriBoulnois <72384047+HenriBoulnois@users.noreply.github.com> Date: Mon, 18 Oct 2021 11:05:31 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 46ab2b2..c819f1d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -110,11 +110,12 @@ jobs: command: git push https://heroku:84a6e6ef-89a6-4750-9073-a451f0b53d29@git.heroku.com/damp-sea-12569.git HEAD:main - run: name: Smoke Test - command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://damp-sea-12569.herokuapp.com/` - if [ "$HTTPCODE" -ne 200 ];then - echo "heroku app not responding, failing deploy" - exit 1 - fi + command: | + HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://damp-sea-12569.herokuapp.com/` + if [ "$HTTPCODE" -ne 200 ];then + echo "heroku app not responding, failing deploy" + exit 1 + fi workflows: version: 2