From 97f3372f9e2f8c9559177e32cc1047dd95195212 Mon Sep 17 00:00:00 2001 From: test123456654321 <16307130148@fudan.edu.cn> Date: Fri, 17 Jan 2025 00:10:39 +0800 Subject: [PATCH] . (#1302) --- .github/workflows/docbuild.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docbuild.yml b/.github/workflows/docbuild.yml index e01b9cadfa..a7b9530e96 100644 --- a/.github/workflows/docbuild.yml +++ b/.github/workflows/docbuild.yml @@ -23,15 +23,14 @@ jobs: with: fetch-depth: '0' ref: main - - run: | cd docs - uses: actions/setup-node@master with: node-version: 20 - cache: npm - uses: actions/configure-pages@v4 - run: | + cd docs npm install npm run docs:build cp index.html .vitepress/dist @@ -48,4 +47,4 @@ jobs: runs-on: ubuntu-latest steps: - id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4