Skip to content

Commit

Permalink
chore: update preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg authored and xxyan0205 committed Jan 18, 2021
1 parent 0700f8d commit b92ff5a
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

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 b92ff5a

Please sign in to comment.