Przeglądaj źródła

fix: revert to pull_request (#7996)

偏右 5 lat temu
rodzic
commit
f6f2b3ac81
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      .github/workflows/preview.yml

+ 1 - 3
.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 }}