Skip to content

Deploy

Deploy #70

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
workflow_run:
workflows: ["Test"]
types:
- completed
pull_request:
types:
- closed
jobs:
deploy:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Deploy to dokku
uses: dokku/github-action@master
with:
git_remote_url: ${{ secrets.DOKKU_GIT_REMOTE_URL }}
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}