🐎 ci: add vitepress

This commit is contained in:
m1m1sha
2024-05-07 18:39:04 +08:00
parent 44998bbb00
commit b453596e01
+3 -1
View File
@@ -47,7 +47,9 @@ jobs:
- name: Install dependencies
run: pnpm install # 或 pnpm install / yarn install / bun install
- name: Build with VitePress
run: pnpm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
run: \
pnpm add -D vitepress
pnpm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: