ci: revert to pull_request (#2638)

This commit is contained in:
xrkffgg 2021-02-03 22:30:35 +08:00 committed by GitHub
parent 11b71667aa
commit f9557a7906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,12 @@
name: 🔂 Surge PR Preview
on: pull_request_target
on: pull_request
jobs:
preview:
runs-on: ubuntu-latest
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 }}