www/.gitea/workflows/deploy.yml
unit0 64942c7b32
Some checks failed
Deploy / deploy (push) Failing after 1s
ci: simplify deploy workflow, use native git pull on host runner
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:46:27 -04:00

21 lines
337 B
YAML

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: host
steps:
- name: Pull latest code
run: |
cd /opt/redunits/www
git pull origin main
- name: Rebuild and restart container
run: |
cd /opt/redunits/www
docker compose up -d --build