Skip to content

Merge pull request #497 from gemini-hlsw/SCHED-724 #300

Merge pull request #497 from gemini-hlsw/SCHED-724

Merge pull request #497 from gemini-hlsw/SCHED-724 #300

Workflow file for this run

name: Deploy to Heroku
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to Heroku Container registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login
- name: Build and push
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
heroku container:push -a ${{ secrets.HEROKU_APP_NAME }} web \
--arg GH_PAT=${{ secrets.GH_PAT }}
- name: Release
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
heroku container:release -a ${{ secrets.HEROKU_APP_NAME }} web