Skip to content

Commit

Permalink
交一份新的
Browse files Browse the repository at this point in the history
  • Loading branch information
Leetfs committed Oct 5, 2024
1 parent dd11fa5 commit dfe5ea5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/preview-pr-build.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: 部署 PR 到 Cloudflare Pages

on:
push:
branches:
- 'main'
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand All @@ -26,10 +23,10 @@ jobs:
fetch-depth: 0

# 第二步:检出 PR 修改的部分
# - name: 检出 PR 修改的部分
# run: |
# git fetch origin +refs/pull/${{ github.event.pull_request.number }}/merge
# git checkout -qf FETCH_HEAD
- name: 检出 PR 修改的部分
run: |
git fetch origin +refs/pull/${{ github.event.pull_request.number }}/merge
git checkout -qf FETCH_HEAD
# 第三步:安装 pnpm
- name: 安装 pnpm
Expand Down

0 comments on commit dfe5ea5

Please sign in to comment.