diff --git a/.github/workflows/vercel.yml b/.github/workflows/vercel.yml index eee5e026..a8c9c15c 100644 --- a/.github/workflows/vercel.yml +++ b/.github/workflows/vercel.yml @@ -1,13 +1,12 @@ name: Deploy Vercel -on: [ push, pull_request_target ] +on: [ push, pull_request ] jobs: vercel: name: Deploy Vercel runs-on: ubuntu-latest - env: - GITHUB_PAGES: true + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: - name: Checkout Repo