From 232fa802eec58e2243d6bc7714af1fca8f24a524 Mon Sep 17 00:00:00 2001 From: khelia Date: Thu, 3 Dec 2020 10:50:22 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b23184..a92d8a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -121,15 +121,11 @@ jobs: - checkout - run: name: Heroku Deploy - command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` - if [ "$HTTPCODE" -ne 200 ];then - echo "heroku app not responding, failing deploy" - exit 1 - fi + command: git push https://heroku:9df2d0c0-9bc3-4469-b9f2-8cb3f0702d42@git.heroku.com/salty-journey-63595.git HEAD:master - run: name: Smoke Test command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` - if [ "$HTTPCODE" -ne 200 ];then + if [ "$HTTPCODE" -ne 200 ]; echo "heroku app not responding, failing deploy" exit 1 fi