Skip to content

Commit b92ff5a

Browse files
xrkffggxxyan0205
authored andcommitted
chore: update preview.yml
1 parent 0700f8d commit b92ff5a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: 🔂 Surge PR Preview
22

3-
on: [push, pull_request]
3+
on: pull_request
44

55
jobs:
66
preview:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
with:
11+
ref: refs/pull/${{ github.event.pull_request.number }}/merge
1012
- uses: afc163/surge-preview@v1
1113
with:
1214
surge_token: ${{ secrets.SURGE_TOKEN }}

0 commit comments

Comments
 (0)