diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-12 22:51:47 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-12 22:51:47 +0100 |
commit | 597be89cda4c7ff6ec3dfe6b40ffef79d9bd78b6 (patch) | |
tree | b8f5933101726b5ed0b31428feb76896f2ffa5eb /.github/workflows/ci.yml | |
parent | Use env variables to generalize GitHub workflow (diff) | |
download | seven-wonders-597be89cda4c7ff6ec3dfe6b40ffef79d9bd78b6.tar.gz seven-wonders-597be89cda4c7ff6ec3dfe6b40ffef79d9bd78b6.tar.bz2 seven-wonders-597be89cda4c7ff6ec3dfe6b40ffef79d9bd78b6.zip |
Add Heroku release step in GitHub workflow
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b9ac480..2da70d42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,3 +76,8 @@ jobs: ${{ env.DOCKERHUB_USER }}/${{ env.DOCKER_IMAGE_NAME }}:latest ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE_NAME }}:latest registry.heroku.com/${{ env.HEROKU_APP_NAME }}/web + + - name: Heroku release (deploy Docker image) + env: + HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} + run: heroku container:release -a ${{ env.HEROKU_APP_NAME }} web |