Skip to content

Commit

Permalink
ci: add deploy to Dokku
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Mar 5, 2024
1 parent 3f74c79 commit 0f8238a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: 'Dokku deploy'

on:
push:
branches:
- feat/SSR

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Cloning repo
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Push to dokku
uses: dokku/github-action@master
with:
branch: 'main'
git_push_flags: '--force'
git_remote_url: ${{ secrets.DOKKU_GIT_SSH_REMOTE_URL }}
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

0 comments on commit 0f8238a

Please sign in to comment.