Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luluxiaoyu committed Dec 25, 2023
1 parent fda2ac6 commit 50185c2
Show file tree
Hide file tree
Showing 73 changed files with 8,399 additions and 16,627 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@

name: 部署文档

on:
push:
branches:
# 确保这是你正在使用的分支名称
- main

permissions:
contents: write

jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# 如果你文档需要 Git 子模块,取消注释下一行
# submodules: true

- name: 安装 pnpm
uses: pnpm/action-setup@v2
with:
run_install: true
version: 8


- name: 设置 Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm


- name: 构建文档
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
pnpm run docs:build
> src/.vuepress/dist/.nojekyll
- name: 部署文档
uses: JamesIves/github-pages-deploy-action@v4
with:
# 这是文档部署到的分支名称
branch: gh-pages
folder: src/.vuepress/dist
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/node_modules
/docs/.vuepress/dist'.temp'
'.cache'

node_modules/
src/.vuepress/.cache/
src/.vuepress/.temp/
src/.vuepress/dist/
17 changes: 0 additions & 17 deletions docs/.vuepress/.temp/internal/clientConfigs.js

This file was deleted.

10 changes: 0 additions & 10 deletions docs/.vuepress/.temp/internal/pagesComponents.js

This file was deleted.

8 changes: 0 additions & 8 deletions docs/.vuepress/.temp/internal/pagesData.js

This file was deleted.

5 changes: 0 additions & 5 deletions docs/.vuepress/.temp/internal/pagesRoutes.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/.temp/internal/siteData.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/.temp/internal/themeData.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/.temp/pages/404.html.js

This file was deleted.

3 changes: 0 additions & 3 deletions docs/.vuepress/.temp/pages/404.html.vue

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/.temp/pages/Play/index.html.js

This file was deleted.

4 changes: 0 additions & 4 deletions docs/.vuepress/.temp/pages/Play/index.html.vue

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/.temp/pages/index.html.js

This file was deleted.

19 changes: 0 additions & 19 deletions docs/.vuepress/.temp/pages/index.html.vue

This file was deleted.

Empty file.
Empty file.
30 changes: 0 additions & 30 deletions docs/.vuepress/config.ts

This file was deleted.

34 changes: 0 additions & 34 deletions docs/.vuepress/dist/404.html

This file was deleted.

34 changes: 0 additions & 34 deletions docs/.vuepress/dist/Play/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/dist/assets/404.html-6Yl8cQE3.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/dist/assets/404.html-nIV0S5zH.js

This file was deleted.

16 changes: 0 additions & 16 deletions docs/.vuepress/dist/assets/app-iKLsRVnj.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/dist/assets/index.html-BkNxGXuD.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/dist/assets/index.html-T4BND0M4.js

This file was deleted.

17 changes: 0 additions & 17 deletions docs/.vuepress/dist/assets/index.html-TThumjq_.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/dist/assets/index.html-lM-Pj9_B.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/.vuepress/dist/assets/style-pBmjJHNx.css

This file was deleted.

Binary file removed docs/.vuepress/dist/hero.png
Binary file not shown.
Loading

0 comments on commit 50185c2

Please sign in to comment.