From b309482dc148311e7745d831c4dd2cf75e10a93b Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Mon, 9 Jan 2023 23:53:57 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= 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 6c0bf335..13f68fb9 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 run docs:build + run: pnpm run build - name: Deploy Github Pages uses: JamesIves/github-pages-deploy-action@releases/v4 diff --git a/package.json b/package.json index 5d22419e..24dba274 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "scripts": { - "docs:dev": "vitepress dev docs", - "docs:build": "vitepress build docs", - "docs:preview": "vitepress preview docs" + "dev": "vitepress dev docs", + "build": "vitepress build docs", + "preview": "vitepress preview docs" }, "devDependencies": { "vitepress": "1.0.0-alpha.35",