diff --git a/.github/workflows/dev-deploy.yml b/.github/workflows/dev-deploy.yml new file mode 100644 index 00000000..6a9ab3ae --- /dev/null +++ b/.github/workflows/dev-deploy.yml @@ -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://dokku@dokku.me:22/appname' + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + branch: 'develop' \ No newline at end of file