From 0ec89de36f75fe17adfd6aec3743baec7491473b Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Mon, 27 Apr 2026 13:24:10 +0300 Subject: [PATCH] fix(ci): remove nginx config deploy from deploy-ui workflow 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) --- .gitea/workflows/deploy-ui.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.gitea/workflows/deploy-ui.yml b/.gitea/workflows/deploy-ui.yml index 3817917..7e69b80 100644 --- a/.gitea/workflows/deploy-ui.yml +++ b/.gitea/workflows/deploy-ui.yml @@ -5,7 +5,6 @@ on: branches: [main] paths: - "ui/**" - - "asset/nginx/**" - ".gitea/workflows/deploy-ui.yml" workflow_dispatch: {} @@ -60,14 +59,3 @@ jobs: --exclude="*" \ ui/dist/ \ "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"