Skip to content

Merge pull request #54 from ProvideQ/release/0.3.0 #18

Merge pull request #54 from ProvideQ/release/0.3.0

Merge pull request #54 from ProvideQ/release/0.3.0 #18

Workflow file for this run

# adapted from https://github.com/dokku/github-action/blob/db5e3b84461e5e73c56d8b0f6a67aab0df25256c/example-workflows/simple.yml
name: 'deploy-main'
on:
push:
branches:
- main
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
# only extracting the server address to a secret avoids leaking it in the logs
git_remote_url: ssh://dokku@${{ secrets.DOKKU_SERVER_ADDRESS }}/toolbox-backend
ssh_private_key: ${{ secrets.DOKKU_DEPLOYMENT_KEY }}