fix: 更新 dev 工作流

This commit is contained in:
Montia37
2025-08-26 16:06:57 +08:00
parent 78e02f0ca2
commit 9904a02205

View File

@@ -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,8 +41,8 @@ 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' \
--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