📝 测试文档部署

This commit is contained in:
远野千束 2024-08-28 12:02:30 +08:00
parent f5d91cafd5
commit f26d189ecd

View File

@ -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