diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..95ae559 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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://dokku@dokku1.parttio.org:22/addons' + ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}