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