From 6d6697d9aef887d399187662ab13e512b221a5bc Mon Sep 17 00:00:00 2001 From: buck Date: Sun, 25 Feb 2024 21:13:34 -0600 Subject: [PATCH] adjust vercel action --- .github/workflows/vercel.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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