From 343fb62b7a5665cf4f376c678c245c52c855acdd Mon Sep 17 00:00:00 2001 From: tchawou-daniel Date: Sat, 16 Jan 2021 17:39:43 +0100 Subject: [PATCH] :bug: ERROR IN CONFIG FILE --- .circleci/config.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 662151c..0d6ae2a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -76,15 +76,7 @@ jobs: - checkout - run: name: Heroku Deploy - command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master - - run: - name: Smoke Test - command: | - HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles` - if [ "$HTTPCODE" -ne 200 ];then - echo "heroku app not responding, failing deploy" - exit 1 - fi + command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main buildandpush_dockerhub: environment: IMAGE_NAME: sipedaniel/backend-finalproject