fix(ci): remove nginx config deploy from deploy-ui workflow
All checks were successful
deploy-ui / build-and-deploy (push) Successful in 21s

Nginx config is managed by script/setup/nginx.sh, not CI. The
gitea_ci user doesn't have permissions to write to /etc/nginx.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 13:24:10 +03:00
parent 9f57342810
commit 0ec89de36f

View File

@@ -5,7 +5,6 @@ on:
branches: [main] branches: [main]
paths: paths:
- "ui/**" - "ui/**"
- "asset/nginx/**"
- ".gitea/workflows/deploy-ui.yml" - ".gitea/workflows/deploy-ui.yml"
workflow_dispatch: {} workflow_dispatch: {}
@@ -60,14 +59,3 @@ jobs:
--exclude="*" \ --exclude="*" \
ui/dist/ \ ui/dist/ \
"gitea_ci@${RPM_REPO_HOST}:/var/www/rpm/" "gitea_ci@${RPM_REPO_HOST}:/var/www/rpm/"
- name: Deploy nginx config
run: |
rsync \
--archive \
--verbose \
--rsync-path="sudo rsync" \
--chown=root:root \
asset/nginx/rpm.lair.cafe.conf \
"gitea_ci@${RPM_REPO_HOST}:/etc/nginx/sites-available/rpm.lair.cafe.conf"
ssh "gitea_ci@${RPM_REPO_HOST}" "sudo nginx -t && sudo systemctl reload nginx"