Skip to content

Merge pull request #17 from toronto-ruby/crespire/add-deploy-notify #10

Merge pull request #17 from toronto-ruby/crespire/add-deploy-notify

Merge pull request #17 from toronto-ruby/crespire/add-deploy-notify #10

---
name: 'deploy from main'
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Cloning repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
with:
branch: main
git_remote_url: ${{ secrets.GIT_REMOTE_URL }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deploy Notify
uses: honeybadger-io/github-notify-deploy-action@v1
with:
api_key: ${{ secrets.HONEYBADGER_API_KEY }}