Revert "chore: update preview.yml"

This reverts commit b92ff5aafe.
This commit is contained in:
afc163 2021-02-03 13:48:08 +08:00 committed by hangzou
parent cbd5cf0d3e
commit 16c2d6035a
1 changed files with 1 additions and 3 deletions

View File

@ -1,14 +1,12 @@
name: 🔂 Surge PR Preview
on: pull_request
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 }}