mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 14:17:38 +08:00
📝 测试文档部署
This commit is contained in:
parent
f5d91cafd5
commit
f26d189ecd
4
.github/workflows/deploy-docs.yml
vendored
4
.github/workflows/deploy-docs.yml
vendored
@ -13,7 +13,7 @@ on:
|
|||||||
|
|
||||||
# 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages
|
# 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
@ -67,5 +67,5 @@ jobs:
|
|||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
# 这是文档部署到的分支名称
|
# 这是文档部署到的分支名称
|
||||||
branch: gh-pages
|
branch: docs
|
||||||
folder: docs/.vitepress/dist
|
folder: docs/.vitepress/dist
|
Loading…
Reference in New Issue
Block a user