chore: update preview.yml (#7539)

This commit is contained in:
xrkffgg 2020-11-11 18:21:08 +08:00 committed by GitHub
parent 8b7d6d5d2d
commit 0b7618f37f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
name: 🔂 Surge PR Preview
on: [push, pull_request_target]
on: pull_request_target
jobs:
preview:
@ -9,6 +9,8 @@ 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 }}