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