From 6cf744103e5eccaed09d6979bf7f4c816d825dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20GAUTREAU?= Date: Mon, 18 Jan 2021 18:54:00 +0100 Subject: [PATCH] :green_heart: : update CD --- .circleci/config.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bd97e69..8a861ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,15 +51,7 @@ jobs: # A basic unit of work in a run - run: name: Heroku Deploy command: echo $HEROKUFINALTP - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKUFINALTP.git main - - run: - name: Smoke Test - command: | - HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKUFINALTP.herokuapp.com/` - if [ "$HTTPCODE" -ne 200 ];then - echo "heroku app not responding, failing deploy" - exit 1 - fi + git push https://heroku:$HEROKUAPIUSR@git.heroku.com/$HEROKUFINALTP.git main workflows: version: 2 build-and-deploy: