From d12a7348f810551dc7c4dc49912bbd016fbe2c74 Mon Sep 17 00:00:00 2001 From: "denisdalmeida04@gmail.com" Date: Sat, 16 Jan 2021 01:15:23 +0100 Subject: [PATCH] :rocket:deploy back on heroku --- .circleci/config.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f17be9..a1ed0d9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,9 @@ workflows: - test: requires: - build + - back-deploy-heroku: + requires: + - build version: 2 jobs: @@ -87,4 +90,13 @@ jobs: - save_cache: paths: - venv - key: v3-dependencies-{{ checksum "requirements/dev.txt" }}-{{ checksum "requirements/prod.txt" }} \ No newline at end of file + key: v3-dependencies-{{ checksum "requirements/dev.txt" }}-{{ checksum "requirements/prod.txt" }} + + back-deploy-heroku: + docker: + - image: buildpack-deps:trusty + steps: + - checkout + - run: + name: Heroku Deploy + command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git origin/test \ No newline at end of file