mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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
|
name: 🔂 Surge PR Preview
|
||||||
|
|
||||||
on: pull_request_target
|
on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
preview:
|
preview:
|
||||||
@ -9,8 +9,6 @@ jobs:
|
|||||||
PUBLIC_PATH: '/'
|
PUBLIC_PATH: '/'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
|
||||||
- uses: afc163/surge-preview@v1
|
- uses: afc163/surge-preview@v1
|
||||||
with:
|
with:
|
||||||
surge_token: ${{ secrets.SURGE_TOKEN }}
|
surge_token: ${{ secrets.SURGE_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user