mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 17:49:40 +08:00
commit
fe03af2b4a
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
@ -7,7 +7,8 @@ on:
|
||||
push:
|
||||
branches: [ "master", "dev" ]
|
||||
paths: ["theme.yaml"]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@ -50,16 +51,15 @@ jobs:
|
||||
- name: Build
|
||||
run: npm run actions --tag=${{ env.version }}
|
||||
|
||||
# 上传构建产物zip
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: halo-theme-dream2.0-plus
|
||||
path: dist-actions
|
||||
# # 上传构建产物zip
|
||||
# - name: Upload artifacts
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: halo-theme-dream2.0-plus
|
||||
# path: dist-actions
|
||||
|
||||
# 如果是master分支,创建Release
|
||||
# 如果是master分支,创建latest的Release,否则创建 预览版
|
||||
- name: Create Release
|
||||
if: ${{ env.branch_type == 'master' }}
|
||||
id: create_release
|
||||
uses: actions/create-release@latest
|
||||
env:
|
||||
@ -69,23 +69,11 @@ jobs:
|
||||
release_name: ${{ env.version }}
|
||||
body: ${{ github.event.commits[0].message }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
prerelease: ${{ env.branch_type != 'master' }}
|
||||
|
||||
# # 如果是master分支,创建Release Asset
|
||||
# - name: Upload Release Asset
|
||||
# if: ${{ env.branch_type == 'master' }}
|
||||
# uses: dwenegar/upload-release-assets@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# release_id: ${{ steps.create_release.outputs.id }}
|
||||
# assets_path: |
|
||||
# dist
|
||||
|
||||
# 如果是master分支,创建Release Asset
|
||||
# 创建Release Asset
|
||||
- name: Upload Release Asset
|
||||
id: upload_asset
|
||||
if: ${{ env.branch_type == 'master' }}
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
17
.github/workflows/gitea-build.yml
vendored
17
.github/workflows/gitea-build.yml
vendored
@ -50,16 +50,15 @@ jobs:
|
||||
- name: Build
|
||||
run: npm run actions --tag=${{ env.version }}
|
||||
|
||||
# 上传构建产物zip
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: halo-theme-dream2.0-plus
|
||||
path: dist-actions
|
||||
# # 上传构建产物zip
|
||||
# - name: Upload artifacts
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: halo-theme-dream2.0-plus
|
||||
# path: dist-actions
|
||||
|
||||
# 如果是master分支,创建Release
|
||||
# 如果是master分支,创建latest的Release,否则创建 预览版
|
||||
- name: Create Release
|
||||
if: ${{ env.branch_type == 'master' }}
|
||||
id: create_release
|
||||
uses: actions/create-release@latest
|
||||
env:
|
||||
@ -69,4 +68,4 @@ jobs:
|
||||
release_name: ${{ env.version }}
|
||||
body: ${{ github.event.commits[0].message }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
prerelease: ${{ env.branch_type != 'master' }}
|
||||
|
@ -5231,6 +5231,7 @@ button.swiper-pagination-bullet {
|
||||
padding: 0.6rem;;
|
||||
border-radius: var(--radius-inner) 0 0 var(--radius-inner);
|
||||
border: var(--theme) 1px solid;
|
||||
color: var(--main);
|
||||
}
|
||||
|
||||
.search-form-btn {
|
||||
@ -5274,7 +5275,6 @@ button.swiper-pagination-bullet {
|
||||
color: var(--main);
|
||||
|
||||
&-tips {
|
||||
max-width: 60%;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
class="text-input"
|
||||
type="search"
|
||||
name="keyword"
|
||||
th:title="${theme.config.page_config.search.search_placeholder}"
|
||||
th:placeholder="${theme.config.page_config.search.search_placeholder}"
|
||||
th:value="${searchResult.keyword}"
|
||||
required
|
||||
|
@ -30,10 +30,10 @@ spec:
|
||||
settingName: theme-dream2-plus-setting
|
||||
configMapName: theme-dream2-plus-configMap
|
||||
# 版本号
|
||||
version: 1.2.6.1
|
||||
version: 1.2.6.beta2
|
||||
# 最低支持的 Halo 版本
|
||||
require: ">=2.15.0"
|
||||
# 许可
|
||||
license:
|
||||
- name: "MIT"
|
||||
url: "https://github.com/zsjy/halo-theme-dream2.0-plus?tab=MIT-1-ov-file"
|
||||
url: "https://github.com/zsjy/halo-theme-dream2.0-plus?tab=MIT-1-ov-file"
|
||||
|
Loading…
x
Reference in New Issue
Block a user