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

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 10:46:27 -04:00
co-authored by Claude Sonnet 4.6
parent fb7364056b
commit 64942c7b32
+5 -4
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
git pull origin main
- name: Deploy container - 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