Skip to content

Merge pull request #10 from toronto-ruby/crespire/add-gh-action-dokku #1

Merge pull request #10 from toronto-ruby/crespire/add-gh-action-dokku

Merge pull request #10 from toronto-ruby/crespire/add-gh-action-dokku #1

---
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:
git_remote_url: ${{ secrets.SSH_URL }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}