mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-03 22:22:00 +08:00
update
This commit is contained in:
commit
6b44647d4e
5 files changed
+63
-2
No files matched your search
@@ -3,9 +3,15 @@ name: npm publish
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write # OIDC 必須
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# Setup .npmrc file to publish to npm
|
||||
@@ -13,7 +19,9 @@ jobs:
|
||||
with:
|
||||
node-version: '20.x'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: npm install
|
||||
- run: npm publish
|
||||
|
||||
- run: npm publish --provenance --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
+5
-1
@@ -659,7 +659,7 @@ artalk:
|
||||
# --------------------------------------
|
||||
|
||||
chat:
|
||||
# Choose: chatra/tidio/crisp
|
||||
# Choose: chatra/tidio/crisp/knocket
|
||||
# Leave it empty if you don't need chat
|
||||
use:
|
||||
# Chat Button [recommend]
|
||||
@@ -680,6 +680,10 @@ tidio:
|
||||
crisp:
|
||||
website_id:
|
||||
|
||||
# https://trtc.io/solutions/knocket
|
||||
knocket:
|
||||
identifier:
|
||||
|
||||
# --------------------------------------
|
||||
# Analysis
|
||||
# --------------------------------------
|
||||
|
||||
+2
@@ -5,3 +5,5 @@ case theme.chat.use
|
||||
include ./tidio.pug
|
||||
when 'crisp'
|
||||
include ./crisp.pug
|
||||
when 'knocket'
|
||||
include ./knocket.pug
|
||||
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user