Skip to content

Commit

Permalink
chore: update preview.yml (#3011)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg authored Nov 17, 2020
1 parent 1cc9354 commit f1c7b6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: 🔂 Surge PR Preview

on: [push, pull_request]
on: pull_request_target

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 f1c7b6b

Please sign in to comment.