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