Skip to content

Commit c89588f

Browse files
committed
初始化文件
0 parents  commit c89588f

File tree

9,148 files changed

+1299553
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,148 files changed

+1299553
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
2+
name: 部署文档
3+
4+
on:
5+
push:
6+
branches:
7+
# 确保这是你正在使用的分支名称
8+
- master
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
deploy-gh-pages:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
# 如果你文档需要 Git 子模块,取消注释下一行
22+
# submodules: true
23+
24+
25+
26+
- name: 设置 Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 22
30+
cache: yarn
31+
32+
- name: 安装依赖
33+
run: yarn install --frozen-lockfile
34+
35+
- name: 构建文档
36+
env:
37+
NODE_OPTIONS: --max_old_space_size=8192
38+
run: |-
39+
yarn run docs:build
40+
> docs/.vuepress/dist/.nojekyll
41+
42+
- name: 部署文档
43+
uses: JamesIves/github-pages-deploy-action@v4
44+
with:
45+
# 这是文档部署到的分支名称
46+
branch: gh-pages
47+
folder: docs/.vuepress/dist

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy