2024-09-13 21:27:40 -04:00
|
|
|
name: Deploy
|
2024-09-13 21:20:05 -04:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
paths-ignore:
|
|
|
|
- README.md
|
|
|
|
- LICENSE
|
|
|
|
|
|
|
|
jobs:
|
2024-09-13 21:27:40 -04:00
|
|
|
deploy:
|
2024-09-13 21:20:05 -04:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
arch: [ "ubuntu-latest" ]
|
|
|
|
git-version: [ "2.44.0" ]
|
|
|
|
runs-on: ${{ matrix.arch }}
|
|
|
|
|
|
|
|
# Steps to run
|
|
|
|
steps:
|
|
|
|
# Checkout the repo
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
# Deploy to Dokku
|
|
|
|
- name: Deploy to Dokku
|
|
|
|
uses: dokku/github-action@master
|
|
|
|
with:
|
2024-09-13 22:08:17 -04:00
|
|
|
git_remote_url: "ssh://dokku@10.10.70.73:22/www"
|
|
|
|
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
|