From 7607585d3eda9e816317a4d1e6dc821813f73a54 Mon Sep 17 00:00:00 2001 From: spokequenouille Date: Tue, 1 Dec 2020 17:44:10 +0100 Subject: [PATCH] fonctionnestp --- .circleci/config.yml | 2 +- test.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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"