Skip to content

Commit

Permalink
deploy on main change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mstahv committed Sep 6, 2023
1 parent dc96788 commit 38d555c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: 'deploy'

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
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: 'ssh://[email protected]:22/addons'
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

0 comments on commit 38d555c

Please sign in to comment.