更新 GitHub Actions 工作流,移除不必要的构建输出;更新 .gitignore 文件以排除 VitePress 生成的缓存和构建目录

This commit is contained in:
远野千束(神羽) 2024-12-14 16:19:42 +08:00
parent 9dc2c42f8b
commit a8cc471f7b
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,6 @@ jobs:
NODE_OPTIONS: --max_old_space_size=8192 NODE_OPTIONS: --max_old_space_size=8192
run: |- run: |-
pnpm run docs:build pnpm run docs:build
> .vitepress/dist/.nojekyll
- name: 部署文档 - name: 部署文档
uses: JamesIves/github-pages-deploy-action@v4 uses: JamesIves/github-pages-deploy-action@v4

3
.gitignore vendored
View File

@ -183,4 +183,5 @@ praises.json
# vitepress and node.js # vitepress and node.js
node_modules/ node_modules/
docs/.vitepress/cache docs/.vitepress/cache
docs/.vitepress/dist