mc-tracker/.gitea/workflows/ci.yml

29 lines
647 B
YAML
Raw Normal View History

2024-01-06 05:13:53 +00:00
name: "Deploy CI"
2024-01-03 08:59:02 +00:00
on:
push:
branches:
- master
2024-01-06 05:13:53 +00:00
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"
2024-01-03 08:59:02 +00:00
jobs:
deploy:
runs-on: ubuntu-24.04
2024-01-03 08:59:02 +00:00
steps:
- name: Cloning repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
with:
2024-01-03 20:56:40 +00:00
git_remote_url: "ssh://dokku@51.158.63.74:22/mc-tracker"
2024-01-03 08:59:02 +00:00
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}