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:
runs-on: host
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy container
- name: Pull latest code
run: |
cd /opt/redunits/www
git pull origin main
- name: Rebuild and restart container
run: |
rsync -a --delete ${{ gitea.workspace }}/ /opt/redunits/www/
cd /opt/redunits/www
docker compose up -d --build