From 58b756eb6745535e1a3177f2686b987487c6cc12 Mon Sep 17 00:00:00 2001 From: snowy Date: Thu, 28 Mar 2024 10:11:28 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20vuepress=E6=9E=84=E5=BB=BA=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index d96da2bb..5d752ff7 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -3,7 +3,6 @@ name: 部署文档 on: push: branches: - # 确保这是你正在使用的分支名称 - main permissions: @@ -17,9 +16,6 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - # 如果你文档需要 Git 子模块,取消注释下一行 - # submodules: true - - name: 安装 pnpm uses: pnpm/action-setup@v2 @@ -28,9 +24,7 @@ jobs: version: 8 - name: 切换工作目录 - run: echo "Switching to docs directory" - working-directory: docs - + run: cd docs - name: 设置 Node.js uses: actions/setup-node@v3 @@ -48,6 +42,5 @@ jobs: - name: 部署文档 uses: JamesIves/github-pages-deploy-action@v4 with: - # 这是文档部署到的分支名称 branch: gh-pages folder: .vuepress/dist