Files
Website-template/.gitea/workflows/deploy.yml
2025-07-23 11:29:35 -04:00

23 lines
509 B
YAML

name: 'Deploy To Dokku'
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: self-hosted
container: node:24
steps:
- name: Cloning repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
with:
# TODO: set the dokku app name
git_remote_url: 'ssh://dokku@192.168.1.2:22/website-template'
ssh_private_key: ${{ secrets.DOKKU_DEPLOY_KEY }}