From f6f2b3ac819c32aba64806b893430d802c460f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Sat, 23 Jan 2021 13:08:19 +0800 Subject: [PATCH] fix: revert to pull_request (#7996) --- .github/workflows/preview.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f5cfc35a..c2905031 100644 --- a/.github/workflows/preview.yml +++ b/.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 }}