mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
ci: revert to pull_request (#8077)
This commit is contained in:
parent
3db2610931
commit
86b7a32621
4
.github/workflows/preview.yml
vendored
4
.github/workflows/preview.yml
vendored
@ -1,6 +1,6 @@
|
||||
name: 🔂 Surge PR Preview
|
||||
|
||||
on: pull_request_target
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
preview:
|
||||
@ -9,8 +9,6 @@ jobs:
|
||||
PUBLIC_PATH: '/'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
- uses: afc163/surge-preview@v1
|
||||
with:
|
||||
surge_token: ${{ secrets.SURGE_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user