From 276ea03e69839c85a9982018ad4bf101cbb1a893 Mon Sep 17 00:00:00 2001 From: chenxing Date: Wed, 16 Sep 2026 17:12:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E5=89=8D=E7=AB=AF=E5=BB=BA=E6=A1=A3?= =?UTF-8?q?=E8=AF=AF=E6=8A=A5=20notice=20=E5=BA=94=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20svc-hall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit build.yml 初始化时沿用 Notice 模板,app 名与产物名未替换: - ZIP_FILE notice-front-${TAG}.zip → svc-hall-front-${TAG}.zip - webhook app=notice → app=svc-hall 症状:svc-hall 前端构建虽绿,但 projman 建档建到 notice 名下,svc-hall 的 front tag 长期不更新。 对照约定(flow-center-front):产物名 -front-.zip、webhook app=。 --- .gitea/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 9763908..43d74b5 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -67,7 +67,7 @@ jobs: - name: 打包产物 run: | TAG=$(echo "$GITHUB_SHA" | cut -c1-8) - ZIP_FILE="notice-front-${TAG}.zip" + ZIP_FILE="svc-hall-front-${TAG}.zip" cd dist && zip -r "../${ZIP_FILE}" . && cd .. echo "ZIP_FILE=${ZIP_FILE}" >> "$GITHUB_ENV" echo "TAG=${TAG}" >> "$GITHUB_ENV" @@ -93,4 +93,4 @@ jobs: curl -sSf -X POST "http://192.168.10.160:8090/projman/api/deploy/webhook" \ -H "Content-Type: application/json" \ -H "X-Deploy-Token: ${{ secrets.DEPLOY_TOKEN }}" \ - -d "{\"app\":\"notice\",\"front\":\"front\",\"tag\":\"${TAG}\",\"sha\":\"${GITHUB_SHA}\",\"message\":\"${COMMIT_MSG}\",\"nexusUrl\":\"${NEXUS_URL}\"}" + -d "{\"app\":\"svc-hall\",\"front\":\"front\",\"tag\":\"${TAG}\",\"sha\":\"${GITHUB_SHA}\",\"message\":\"${COMMIT_MSG}\",\"nexusUrl\":\"${NEXUS_URL}\"}"