Skip to content

Commit

Permalink
Optimize workflow description and update dependency installation in c…
Browse files Browse the repository at this point in the history
…f.yml
  • Loading branch information
Leetfs committed Sep 24, 2024
1 parent c75128f commit 0b60762
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

# 第三步:安装依赖
- name: 安装依赖
run: pnpm install --frozen-lockfile # 使用冻结的 lockfile 安装依赖
run: pnpm install

# 第四步:构建项目
- name: 构建项目
run: pnpm run docs:build # 构建 VitePress 项目
run: pnpm run docs:build

# 第五步:安装 Wrangler
- name: 安装 Wrangler
run: pnpm add -g wrangler@3 # 安装 Wrangler v3
run: pnpm add -g wrangler@3

# 第六步:发布到 Cloudflare Pages
- name: 发布到 Cloudflare Pages
Expand Down

0 comments on commit 0b60762

Please sign in to comment.