From 11cd58469f0c8d07680f40fed4c2f09f5a23007e Mon Sep 17 00:00:00 2001 From: tchawou-daniel Date: Sat, 16 Jan 2021 13:59:48 +0100 Subject: [PATCH] improve config.yml --- .circleci/config.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 63eef61..f00efad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,19 +69,22 @@ jobs: paths: - ./venv 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 HEAD:master + 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 HEAD:master workflows: version: 2.1 build_circleci: jobs: - build - start_test: + requires: + - build + - back-deploy-heroku: requires: - build \ No newline at end of file