From 9c5e85e9122526d8dd9480e92c302ca52ed9a35f Mon Sep 17 00:00:00 2001 From: verzelea Date: Tue, 1 Dec 2020 15:41:51 +0100 Subject: [PATCH] Refactor: config2 --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2caafe5..cb3a620 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -121,11 +121,11 @@ jobs: - checkout - run: name: Heroku Deploy - command: git push heroku main && git push && heroku open + command: git push https://heroku/$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main && heroku open - run: name: Smoke Test command: - HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://devoptpcd.herokuapp.com/` + 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