mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
1.3.5
This commit is contained in:
parent
6d5222b32c
commit
adc0af99b8
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -80,8 +80,12 @@ jobs:
|
|||||||
asset_name: halo-theme-dream2.0-plus-V${{ env.version }}.zip
|
asset_name: halo-theme-dream2.0-plus-V${{ env.version }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
# 发布NPM包
|
# 发布NPM包,master分支需要发布
|
||||||
|
- name: npm ci
|
||||||
|
if: ${{ env.branch_type == 'master' }}
|
||||||
|
run: npm ci
|
||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
run: npm publish --tag latest
|
if: ${{ env.branch_type == 'master' }}
|
||||||
|
run: npm publish --access public --tag latest
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user