From 86b7a32621d74fba260583a77bafe89de3709cf6 Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Thu, 4 Feb 2021 09:15:31 +0800 Subject: [PATCH] ci: revert to pull_request (#8077) --- .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 2dcc70700..29499c4e1 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -1,6 +1,6 @@ name: 🔂 Surge PR Preview -on: pull_request_target +on: pull_request jobs: preview: @@ -9,8 +9,6 @@ jobs: PUBLIC_PATH: '/' 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 }}