From 6c1e2e6016a411a39f39f6c17e110229dd09d530 Mon Sep 17 00:00:00 2001 From: Adrien-Ba <45963338+Adrien-Ba@users.noreply.github.com> Date: Mon, 18 Oct 2021 11:04:48 +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 2c6f9fd..bdf4662 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -110,11 +110,12 @@ jobs: command: git push https://heroku:19f982bf-2f59-4708-a7f4-3b471dab997e@git.heroku.com/ancient-wildwood-44370.git HEAD:main - run: name: Smoke Test - command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://ancient-wildwood-44370.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://ancient-wildwood-44370.herokuapp.com/` + if [ "$HTTPCODE" -ne 200 ]; then + echo "heroku app not responding, failing deploy" + exit 1 + fi workflows: version: 2