From 8790ce2a50e25bc2b1396ffdbf7db37e7dfb34bd Mon Sep 17 00:00:00 2001 From: xpyjs Date: Mon, 17 Jun 2024 09:46:31 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gh-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index fb085a9..b956cce 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -4,6 +4,7 @@ on: branches: [master] paths: - 'docs/**' + - '.github/workflows/gh-pages.yml' jobs: create-gh-pages: @@ -23,7 +24,7 @@ jobs: run: yarn && cd docs && yarn - name: 4. 构建文档和 Demo 页面 - run: yarn vite build --config ./sundry/demo.config.ts && cd docs && yarn docs:build && mv ./docs/.vuepress/dist/ ../gh-pages/docs/ + run: yarn vite build --config ./sundry/demo.config.ts && cd docs && yarn docs:build && mv ./docs/.vitepress/dist/ ../gh-pages/docs/ - name: 5. 保存并发布文档 uses: peaceiris/actions-gh-pages@v3