Skip to content

Commit

Permalink
feat: just test
Browse files Browse the repository at this point in the history
  • Loading branch information
karlsbeard committed Dec 21, 2024
1 parent 9eae73e commit f67cab6
Show file tree
Hide file tree
Showing 3,950 changed files with 17 additions and 989,702 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
# with:
# version: 9
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
with:
version: 9
- uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm # 或 pnpm / yarn
cache: pnpm # 或 pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci # 或 pnpm install / yarn install / bun install
run: pnpm install # 或 pnpm install / yarn install / bun install
- name: Build with VitePress
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
run: pnpm build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
path: .vitepress/dist

# 部署工作
deploy:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
Binary file added .vitepress/.DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions .vitepress/cache/deps/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: "A Awesome Site",
srcDir: './src',
base: '/repo/',
base: '/fduer-manual/',
description: "A site of manual for fduers",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
Expand Down
17 changes: 0 additions & 17 deletions node_modules/.bin/vitepress

This file was deleted.

Loading

0 comments on commit f67cab6

Please sign in to comment.