Skip to content

Commit

Permalink
Add dev deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
mmd-mostafaee committed Oct 8, 2024
1 parent eb6c0e1 commit c0c9e68
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'dev-deploy'

on:
push:
branches:
- develop

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

- name: Push to dokku
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://[email protected]:22/appname'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
branch: 'develop'

0 comments on commit c0c9e68

Please sign in to comment.