Skip to content

Deploy to Dokku

Deploy to Dokku #19

Workflow file for this run

name: Deploy to Dokku
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-20.04-self-hosted
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- id: deploy
name: Deploy to dokku
uses: NickVolynkin/dokku-deploy-github-action@allow-multiple-deployments
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
dokku-host: ${{ secrets.DOKKU_HOST }}
app-name: ${{ secrets.DOKKU_APP }}
git-push-flags: '--force'