mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: update preview.yml (#7539)
This commit is contained in:
parent
8b7d6d5d2d
commit
0b7618f37f
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: [push, pull_request_target]
|
on: pull_request_target
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
preview:
|
preview:
|
||||||
@ -9,6 +9,8 @@ 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