diff --git a/.circleci/config.yml b/.circleci/config.yml index cc7510a..9405c80 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -101,7 +101,7 @@ jobs: - checkout - run: name: Heroku Deploy - command: git push https://heroku:82c54f90-3acc-4ec5-80d0-d4931333e21d@git.heroku.com/limitless-reaches-59900.git HEAD:master + command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master - run: name: Smoke Test command: ./test.sh diff --git a/test.sh b/test.sh index 611e016..06a2cfb 100755 --- a/test.sh +++ b/test.sh @@ -1,6 +1,5 @@ #! /bin/bash -HEROKU_APP_NAME="limitless-reaches-59900" 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"