From 64332affd16e5b65d9c9783753291c98f7647da4 Mon Sep 17 00:00:00 2001 From: Because66666 <110363085+Because66666@users.noreply.github.com> Date: Sun, 9 Mar 2025 01:05:26 +0800 Subject: [PATCH] Update static.yml --- .github/workflows/static.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 0c5ed2f..200cb86 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -8,8 +8,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: corepack enable + run: corepack enable - name: Install VuePress - run: npm install -g vuepress + run: npm install vuepress@latest --save + - name: Install vuepress-theme-hope + run: npm install vuepress-theme-hope@latest --save - name: Build VuePress run: npm run docs:build - name: Deploy to GitHub Pages