ci: simplify deploy workflow, use native git pull on host runner
Some checks failed
Deploy / deploy (push) Failing after 1s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
unit0 2026-03-17 10:46:27 -04:00
parent fb7364056b
commit 64942c7b32

View File

@ -9,11 +9,12 @@ jobs:
deploy: deploy:
runs-on: host runs-on: host
steps: steps:
- name: Checkout - name: Pull latest code
uses: actions/checkout@v3 run: |
cd /opt/redunits/www
- name: Deploy container git pull origin main
- name: Rebuild and restart container
run: | run: |
rsync -a --delete ${{ gitea.workspace }}/ /opt/redunits/www/
cd /opt/redunits/www cd /opt/redunits/www
docker compose up -d --build docker compose up -d --build