ci: revert to pull_request (#8077)

This commit is contained in:
xrkffgg 2021-02-04 09:15:31 +08:00 committed by GitHub
parent 3db2610931
commit 86b7a32621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}