Browse Source

improve config.yml

mytest-branch
tchawou-daniel 6 years ago
parent
commit
11cd58469f
  1. 19
      .circleci/config.yml

19
.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
Loading…
Cancel
Save