From 2fcd7a5f8e0696bdeddd547f6f30fa69f63e921b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= Date: Wed, 12 Mar 2025 23:06:16 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=20GitHub=20Actions?= =?UTF-8?q?=20=E6=89=93=E5=8C=85=E5=91=BD=E4=BB=A4=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-pages.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 758ad6e..a5c1c28 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -49,4 +49,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist # 这里的 dist 是构建后的文件目录,根据实际情况修改 \ No newline at end of file + publish_dir: ./dist # 这里的 dist 是构建后的文件目录,根据实际情况修改 diff --git a/package.json b/package.json index ac36ccf..0cad980 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "tutorials", "scripts": { "dev": "vitepress dev docs", + "build": "vitepress build docs", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs"