diff --git a/.github/workflows/cf.yml b/.github/workflows/cf.yml index ca5880b..8c2b818 100644 --- a/.github/workflows/cf.yml +++ b/.github/workflows/cf.yml @@ -8,6 +8,8 @@ on: - 'docs/**' - '.github/workflows/cf.yml' - 'package.json' + - 'packages/**' + workflow_dispatch: jobs: deploy: @@ -35,7 +37,7 @@ jobs: # 第四步:构建项目 - name: 构建项目 - run: pnpm run build # 构建 VitePress 项目 + run: pnpm build # 构建 VitePress 项目 # 第五步:安装 Wrangler - name: 安装 Wrangler