From 1df99f57a9d75b81c9ac8dbc538af05efd9eeb5e Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 13 Jan 2022 17:04:13 +0100 Subject: [PATCH] :beers: add deploy heroku --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9f9bd21..ce8c115 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -95,11 +95,11 @@ jobs: - checkout - run: name: Heroku Deploy - command: git push https://heroku:$HEROKU_KEY@git.heroku.com/HEROKU_NAME.git HEAD:main + command: git push https://heroku:$HEROKU_KEY@git.heroku.com/$HEROKU_NAME.git HEAD:main - run: name: Smoke Test command: | - HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://HEROKU_NAME.herokuapp.com/` + HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_NAME.herokuapp.com/` if [ "$HTTPCODE" -ne 200 ];then echo "heroku app not responding, failing deploy" exit 1