mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-05 14:32:01 +08:00
Compare commits
196
Commits
4.13
..
120df4f012
No files matched your search
+1
-1
@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
|
|||||||
issuehunt: # Replace with a single IssueHunt username
|
issuehunt: # Replace with a single IssueHunt username
|
||||||
otechie: # Replace with a single Otechie username
|
otechie: # Replace with a single Otechie username
|
||||||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
||||||
custom: ['https://buy.stripe.com/3cs6rP6YA91sbbG5kk','https://jsd.012700.xyz/gh/jerryc127/CDN/Photo/wechat.jpg'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
custom: ['https://buy.stripe.com/3cs6rP6YA91sbbG5kk'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||||
@@ -7,11 +7,12 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
重要:請依照該模板來提交
|
重要:請依照該模板來提交
|
||||||
Please follow the template to create a new issue
|
Important: Please follow the template to create a new issue
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: butterfly-ver
|
id: butterfly-ver
|
||||||
attributes:
|
attributes:
|
||||||
label: 使用的 Butterfly 版本? | What version of Butterfly are you use?
|
label: 使用的 Butterfly 版本? | What version of Butterfly are you using?
|
||||||
description: 檢視主題的 package.json | Check the theme's package.json
|
description: 檢視主題的 package.json | Check the theme's package.json
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@@ -19,17 +20,17 @@ body:
|
|||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: modify
|
id: modify
|
||||||
attributes:
|
attributes:
|
||||||
label: 是否修改过主题文件? || Has the theme files been modified?
|
label: 是否修改過主題文件? | Has the theme files been modified?
|
||||||
options:
|
options:
|
||||||
- 是 (Yes)
|
- 是 (Yes)
|
||||||
- 不是 (No)
|
- 否 (No)
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: browser
|
id: browser
|
||||||
attributes:
|
attributes:
|
||||||
label: 使用的瀏覽器? || What browse are you using?
|
label: 使用的瀏覽器? | What browser are you using?
|
||||||
options:
|
options:
|
||||||
- Chrome
|
- Chrome
|
||||||
- Edge
|
- Edge
|
||||||
@@ -42,7 +43,7 @@ body:
|
|||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: platform
|
id: platform
|
||||||
attributes:
|
attributes:
|
||||||
label: 使用的系統? || What operating system are you using?
|
label: 使用的系統? | What operating system are you using?
|
||||||
options:
|
options:
|
||||||
- Windows
|
- Windows
|
||||||
- macOS
|
- macOS
|
||||||
@@ -56,8 +57,8 @@ body:
|
|||||||
- type: textarea
|
- type: textarea
|
||||||
id: dependencies
|
id: dependencies
|
||||||
attributes:
|
attributes:
|
||||||
label: 依賴插件 | Package dependencies Information
|
label: 依賴插件 | Package dependencies information
|
||||||
description: 在 Hexo 根目錄下執行`npm ls --depth 0` | Run `npm ls --depth 0` in Hexo root directory
|
description: 在 Hexo 根目錄下執行 `npm ls --depth 0` | Run `npm ls --depth 0` in Hexo root directory
|
||||||
render: Text
|
render: Text
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@@ -75,8 +76,8 @@ body:
|
|||||||
- type: input
|
- type: input
|
||||||
id: website
|
id: website
|
||||||
attributes:
|
attributes:
|
||||||
label: 出現問題網站 | Website
|
label: 出現問題的網站 | Website with the issue
|
||||||
description: 請提供下可復現網站地址 | Please supply a website url which can reproduce problem.
|
description: 請提供可復現問題的網站地址 | Please provide a website URL where the problem can be reproduced.
|
||||||
placeholder:
|
placeholder: 請填寫具體的網址,不要填寫 localhost 網站 | Please provide a specific URL, do not use localhost.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@@ -3,17 +3,25 @@ name: npm publish
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write # OIDC 必須
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
# Setup .npmrc file to publish to npm
|
# Setup .npmrc file to publish to npm
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '20.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm publish
|
|
||||||
|
- run: npm publish --provenance --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
Loaded 3 of 194 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user