From 88267827c58022f5ce113ed64eed469d188ad822 Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Mon, 9 Jan 2023 23:48:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4script=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E9=94=AE=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 67ec6737..6c0bf335 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: run: pnpm install - name: Build VitePress site - run: pnpm build + run: pnpm run docs:build - name: Deploy Github Pages uses: JamesIves/github-pages-deploy-action@releases/v4 diff --git a/package.json b/package.json index 24dba274..5d22419e 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "scripts": { - "dev": "vitepress dev docs", - "build": "vitepress build docs", - "preview": "vitepress preview docs" + "docs:dev": "vitepress dev docs", + "docs:build": "vitepress build docs", + "docs:preview": "vitepress preview docs" }, "devDependencies": { "vitepress": "1.0.0-alpha.35",