From 597be89cda4c7ff6ec3dfe6b40ffef79d9bd78b6 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Sat, 12 Dec 2020 22:51:47 +0100 Subject: Add Heroku release step in GitHub workflow --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github') 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 -- cgit