Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikenxuan committed Jun 13, 2024
1 parent c7baba7 commit 35111d9
Show file tree
Hide file tree
Showing 18 changed files with 1,233 additions and 24,444 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建 VitePress 站点并将其部署到 GitHub Pages 的示例工作流程
#

name: Deploy VitePress site to Pages

on:
Expand Down Expand Up @@ -32,19 +32,19 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
# - 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 ci # 或 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 run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
23 changes: 22 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
node_modules
# build output
dist/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# vitepress
.vitepress/dist
.vitepress/cache
257 changes: 0 additions & 257 deletions .vitepress/cache/deps/@theme_index.js

This file was deleted.

7 changes: 0 additions & 7 deletions .vitepress/cache/deps/@theme_index.js.map

This file was deleted.

40 changes: 0 additions & 40 deletions .vitepress/cache/deps/_metadata.json

This file was deleted.

Loading

0 comments on commit 35111d9

Please sign in to comment.