ci: add Gitea Actions deploy workflow
Some checks failed
Deploy / deploy (push) Failing after 16s

Auto-deploy to VPS on push to main via host runner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
unit0 2026-03-17 10:43:13 -04:00
parent 5b1eb9eec4
commit fb7364056b

View File

@ -0,0 +1,19 @@
name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: host
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy container
run: |
rsync -a --delete ${{ gitea.workspace }}/ /opt/redunits/www/
cd /opt/redunits/www
docker compose up -d --build