Skip to content

Commit

Permalink
Merge branch 'web-client' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Tale152 committed May 5, 2022
2 parents b685fda + e0fdbcb commit 541ef2b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/web-client-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Push Web Client Container to Heroku

on:
workflow_run:
workflows: ["Web client CI"]
branches:
- master
types:
- completed

jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
defaults:
run:
working-directory: ./web-client
steps:
- uses: actions/checkout@v1
- name: Login to Heroku Container registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login
- name: Build container and push
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:push -a ${{ secrets.HEROKU_WEB_CLIENT_NAME }} web
- name: Release container
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:release -a ${{ secrets.HEROKU_WEB_CLIENT_NAME }} web

0 comments on commit 541ef2b

Please sign in to comment.