Skip to content

Commit b26b847

Browse files
committed
docs: 更新部署文档的工作流名称和说明
1 parent afbeeed commit b26b847

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy-docs.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- name: Checkout
14+
- name: 检查仓库
1515
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
@@ -23,7 +23,6 @@ jobs:
2323
with:
2424
version: '10.6.2'
2525

26-
2726
- name: 设置 Node.js
2827
uses: actions/setup-node@v4
2928
with:
@@ -42,9 +41,9 @@ jobs:
4241
pnpm run docs:build
4342
> src/.vuepress/dist/.nojekyll
4443
45-
- name: 部署文档
44+
- name: 部署文档到 GitHub Pages
4645
uses: JamesIves/github-pages-deploy-action@v4
4746
with:
48-
# 部署文档
4947
branch: gh-pages
5048
folder: src/.vuepress/dist
49+
token: ${{ secrets.NEKOBLOG_ACTION_TOKEN }}

0 commit comments

Comments
 (0)