From f343b540517dde28904fabb09d65a41b5fa1c47f Mon Sep 17 00:00:00 2001 From: snowy Date: Wed, 28 Aug 2024 11:48:40 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=B5=8B=E8=AF=95=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 54d97f9..e8bb886 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -34,15 +34,6 @@ jobs: fetch-depth: 0 # 如果未启用 lastUpdated,则不需要 # - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释 # - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm # 或 pnpm / yarn - - - name: Setup Pages - uses: actions/configure-pages@v4 - - name: Setup Python uses: actions/setup-python@v2 with: @@ -53,6 +44,15 @@ jobs: python -m pip install pydantic python docs/mkdoc.py + - name: Setup Node + uses: actions/setup-node@v4 + run: |- + cd docs + npm install + + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Install node dependencies run: |- cd docs