From 6e253224b31138e2efc996eb4194b9b50f340ba5 Mon Sep 17 00:00:00 2001 From: CI Test Date: Thu, 3 Sep 2026 16:12:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E7=94=9F=E4=BA=A7=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E5=8A=A0=E9=97=A8=E7=A6=81=20-=20=E4=BB=85=20main=20=E5=88=86?= =?UTF-8?q?=E6=94=AF=E8=A7=A6=E5=8F=91=20build/deploy=20production?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index ec7230ee8..04902aef0 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -1462,7 +1462,7 @@ jobs: - unit-tests - frontend-lint - frontend-unit-test - if: github.event_name == 'push' && !failure() && !cancelled() + if: github.event_name == 'push' && github.ref_name == 'main' && !failure() && !cancelled() strategy: fail-fast: false matrix: @@ -1608,7 +1608,7 @@ jobs: concurrency: group: deploy-production-${{ gitea.ref }} cancel-in-progress: false - # if: removed - runs after build-production succeeds + if: github.event_name == 'push' && github.ref_name == 'main' needs: - build-production steps: -- 2.54.0