29 lines
647 B
YAML
29 lines
647 B
YAML
name: "Deploy CI"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore: # Files in here will not trigger a build
|
|
- "README.md"
|
|
- "LICENSE"
|
|
- "grafana-dashboard.json"
|
|
- "storage-tracker.sh"
|
|
- "useful-stuff.md"
|
|
- ".gitea/workflows/publish.yml"
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Cloning repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Push to dokku
|
|
uses: dokku/github-action@master
|
|
with:
|
|
git_remote_url: "ssh://dokku@51.158.63.74:22/mc-tracker"
|
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|