Skip to content

Commit

Permalink
deploy to heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
djbrown committed Jul 5, 2022
1 parent c100310 commit 7280d7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI Build

on:
push:
branches: [master]
# branches: [master]

workflow_dispatch:

Expand Down Expand Up @@ -172,11 +172,13 @@ jobs:
registry: registry.heroku.com
username: ${{ secrets.HEROKU_EMAIL }}
password: ${{ secrets.HEROKU_API_KEY }}
- name: Pull Image from Docker Hub
run: docker pull djbrown/hbscorez:latest
- name: Retag Image for Heroku Container Registry
# env:
# HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: docker tag djbrown/hbscorez:latest registry.heroku.com/hbscorez/web
- name: Push Image to Heroku Container registry
run: docker push registry.heroku.com/hbscorez/web
- name: Push Image to Heroku Container registry
- name: Release Image to Heroku
run: heroku container:release web

0 comments on commit 7280d7f

Please sign in to comment.