diff --git a/.github/workflows/surge-preview.yml b/.github/workflows/surge-preview.yml index 7c2e4aa..c6aac1f 100644 --- a/.github/workflows/surge-preview.yml +++ b/.github/workflows/surge-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 }}