Skip to content

deploy

deploy #143

Workflow file for this run

---
name: 'Deploy'
on:
workflow_dispatch:
repository_dispatch:
types: [ deploy ]
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# third-party action that cancels previous runs
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Cloning repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
with:
branch: 'main'
git_remote_url: 'ssh://[email protected]:22/titaniumsdk.com'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}