Skip to content

Dokku matcloud.xyz deploy #272

Dokku matcloud.xyz deploy

Dokku matcloud.xyz deploy #272

name: Dokku matcloud.xyz deploy
on:
workflow_run:
workflows:
- Voila test
types: [completed]
branches:
- '*'
jobs:
Dokku-dev-deploy:
name: Dokku dev deploy
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Cloning repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Push to dokku (PR open)
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://[email protected]:22/osscar-quantum-mechanics'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' }}
- name: Push to dokku (PR synchronize)
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://[email protected]:22/osscar-quantum-mechanics'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
if: ${{ github.event_name == 'pull_request' && github.event.action == 'synchronize' }}