Browse Source

fix: revert to pull_request (#7996)

pull/8044/head
偏右 5 years ago
committed by GitHub
parent
commit
f6f2b3ac81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/preview.yml

4
.github/workflows/preview.yml

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

Loading…
Cancel
Save