From 95edc3867e37d200746146cc0635f1caab0f2c75 Mon Sep 17 00:00:00 2001 From: Julien Dudek Date: Tue, 1 Dec 2020 15:54:56 +0100 Subject: [PATCH] with orbs only --- .circleci/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 996a848..f2f5154 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -121,7 +121,12 @@ jobs: - checkout - run: name: Heroku Deploy - command: heroku/deploy-via-git + command: | + set -x + sudo curl https://cli-assets.heroku.com/install.sh | sh + HEROKU_API_KEY=${HEROKU_API_KEY} heroku container:login + HEROKU_API_KEY=${HEROKU_API_KEY} heroku container:push ${HEROKU_APP_NAME} web + HEROKU_API_KEY=${HEROKU_API_KEY} heroku container:release ${HEROKU_APP_NAME} web - run: name: Smoke Test command: echo todo && false @@ -149,7 +154,7 @@ workflows: filters: branches: only: main - - back-deploy-heroku: + - heroku/deploy-via-git: requires: - build - lint