From 8d23e0962afcb4cc0993aa8935ac482f541d5f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20GAUTREAU?= Date: Mon, 18 Jan 2021 18:48:09 +0100 Subject: [PATCH] :green_heart: : fix CD --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cdd9cfa..bd97e69 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,12 +50,12 @@ jobs: # A basic unit of work in a run - checkout - run: name: Heroku Deploy - command: echo $HEROKU_APP_NAME - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main + command: echo $HEROKUFINALTP + git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKUFINALTP.git main - run: name: Smoke Test command: | - HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/` + HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKUFINALTP.herokuapp.com/` if [ "$HTTPCODE" -ne 200 ];then echo "heroku app not responding, failing deploy" exit 1