Julien Dudek 6 years ago
parent
commit
b760b9e3a7
  1. 9
      .circleci/config.yml

9
.circleci/config.yml

@ -121,12 +121,7 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
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
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main
- run: - run:
name: Smoke Test name: Smoke Test
command: echo todo && false command: echo todo && false
@ -154,7 +149,7 @@ workflows:
filters: filters:
branches: branches:
only: main only: main
- heroku/deploy-via-git:
- back-deploy-heroku:
requires: requires:
- build - build
- lint - lint

Loading…
Cancel
Save