From 1140ce3f2c5a908d3da69cd57bda4eba3f9907ff Mon Sep 17 00:00:00 2001 From: Adrien-Ba <45963338+Adrien-Ba@users.noreply.github.com> Date: Mon, 18 Oct 2021 10:45:04 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fb4c202..27778b0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -107,10 +107,10 @@ jobs: - checkout - run: name: Heroku Deploy - command: yarn start + 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://$HEROKU_APP_NAME.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