From 072c4f12958f14b3a6fd99e4a06a85c94200e1f7 Mon Sep 17 00:00:00 2001 From: WooWan Date: Fri, 26 Jul 2024 16:40:55 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"chore:=20=EB=B0=B0=ED=8F=AC=20?= =?UTF-8?q?=ED=94=84=EB=A6=AC=EB=B7=B0=20comment=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5e38d7001286cf6d8eeee5769a42915c938aed2a. --- .github/workflows/deploy-preview.yaml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.github/workflows/deploy-preview.yaml b/.github/workflows/deploy-preview.yaml index fc36f28..2b230fe 100644 --- a/.github/workflows/deploy-preview.yaml +++ b/.github/workflows/deploy-preview.yaml @@ -3,8 +3,9 @@ env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} on: - pull_request: - types: [opened, synchronize, reopened] + push: + branches-ignore: + - main jobs: Deploy-Preview: runs-on: ubuntu-latest @@ -18,22 +19,4 @@ jobs: - name: Build Project Artifacts run: vercel build --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Project Artifacts to Vercel - id: deploy run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} - - - name: Find Comment - uses: peter-evans/find-comment@v2 - id: fc - with: - issue-number: ${{ github.event.pull_request.number }} - comment-author: "github-actions[bot]" - body-includes: Preview deployed to - - name: Create or Update Comment - uses: peter-evans/create-or-update-comment@v4 - with: - comment-id: ${{ steps.fc.outputs.comment-id }} - issue-number: ${{ github.event.pull_request.number }} - body: | - Preview deployed to: ${{ steps.deploy.outputs.url }} - Last updated: ${{ github.event.pull_request.updated_at }} - edit-mode: replace