Skip to content

Commit

Permalink
Update surge-preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Feb 4, 2021
1 parent 1e91634 commit 66a7eb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/surge-preview.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: 🔂 Surge PR Preview

on: pull_request_target
on: [push, 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 }}
Expand Down

0 comments on commit 66a7eb1

Please sign in to comment.