Create deploy.yml

This commit is contained in:
I-Have-An-Issue 2022-10-02 01:16:30 +00:00 committed by GitHub
parent 276c58a603
commit 10c90cb754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: 'deploy'
on:
push:
branches:
- master
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:
git_remote_url: 'ssh://dokku@calones.xyz/rowblox'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}