Skip to content

v2.0.3

v2.0.3 #4

Workflow file for this run

---
name: "Deploy"
on:
release:
types: ["published"]
workflow_dispatch:
concurrency:
group: "deploy-production"
cancel-in-progress: false
jobs:
tests:
name: "Run tests and checks"
uses: "./.github/workflows/ci.yml"
deploy:
name: "Deploy"
runs-on: "ubuntu-latest"
needs:
- "tests"
environment:
name: "production"
url: "${{ vars.ENVIRONMENT_URL }}"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Push to dokku server"
uses: "dokku/github-action@v1.4.0"
with:
branch: "main"
git_remote_url: "${{ vars.DOKKU_GIT_REMOTE_URL }}"
ssh_private_key: "${{ secrets.DOKKU_SSH_PRIVATE_KEY }}"