From 9904a022051fc9d5708a7a6a7e3cdf40fca48254 Mon Sep 17 00:00:00 2001 From: Montia37 Date: Tue, 26 Aug 2025 16:06:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=20dev=20=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/preview-theme.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/preview-theme.yaml b/.github/workflows/preview-theme.yaml index 0acb914..fa16f11 100644 --- a/.github/workflows/preview-theme.yaml +++ b/.github/workflows/preview-theme.yaml @@ -1,9 +1,10 @@ -name: Build Theme Package +name: Build Preview Theme Package on: - push: - branches: - - dev + workflow_dispatch: + inputs: + ref: + default: "dev" jobs: build-and-package: @@ -40,9 +41,9 @@ jobs: # Update komari-theme.json with new version and description jq --arg version "$VERSION_DATE" \ - --arg desc "Preview theme for Komari Monitor (commit: $COMMIT_HASH)" \ - '.version = $version | .description = $desc' \ - komari-theme.json > komari-theme-updated.json + --arg desc "Preview theme for PurCarte (commit: $COMMIT_HASH)" \ + '.name = .name + " (Preview)" | .short = .short + "Preview" | .version = $version | .description = $desc' \ + komari-theme.json > komari-theme-updated.json mv komari-theme-updated.json komari-theme.json