Skip to content

Deploy

Deploy #271

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows: ["CI"]
branches: ["main"]
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
# 🤷 https://github.community/t/workflow-run-completed-event-triggered-by-failed-workflow/128001
if: ${{ github.event.workflow_run.conclusion == 'success' }}
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: akhileshns/heroku-deploy@v3.12.13
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: ${{secrets.HEROKU_APP_NAME}}
heroku_email: ${{secrets.HEROKU_EMAIL}}