From 0633d8d2207e0539655d7ea4ac68530bb3186845 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Wed, 27 Sep 2023 18:51:49 +0300 Subject: [PATCH] run preview on every pr commit --- .github/workflows/preview.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index bc5d5ecd1..e62f4f770 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -3,17 +3,10 @@ env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} on: - issue_comment: - types: [created] + pull_request: jobs: deploy: runs-on: ubuntu-latest - # todo skip already created deploys on that commit - if: >- - github.event.issue.pull_request != '' && - ( - contains(github.event.comment.body, '/deploy') - ) permissions: pull-requests: write steps: