Skip to content

trying apply

trying apply #124

Workflow file for this run

name: Deploy Obos to Heroku
on:
push:
branches:
- master
env:
HEROKU_APP_NAME: td-obos
jobs:
deploy-obos:
name: Deploy Obos to heroku
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[deploy-obos]')"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Heroku CLI
run: curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
- name: Login to Heroku Container registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login
- name: Push Obos Container
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:push -a $HEROKU_APP_NAME web
working-directory: ./Ouroboros/
- name: Release Obos Container
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:release -a $HEROKU_APP_NAME web
working-directory: ./Ouroboros/