From 3df211231178f92487846df5e23cf2c093296fc9 Mon Sep 17 00:00:00 2001 From: Wang Guan Date: Sat, 30 Mar 2024 14:11:53 +0900 Subject: [PATCH] fix --- .github/workflows/publish-cf-pages.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/publish-cf-pages.yaml b/.github/workflows/publish-cf-pages.yaml index 1c07480..18468ab 100644 --- a/.github/workflows/publish-cf-pages.yaml +++ b/.github/workflows/publish-cf-pages.yaml @@ -43,11 +43,4 @@ jobs: message: | Deployed to CF pages (Preview) at ${{ steps.deploy.outputs.deployment-url }} comment_tag: deploy_preview - if: ${{ github.ref_name != 'main' }} - - - uses: thollander/actions-comment-pull-request@v2 - with: - message: | - Deployed to CF pages (Prod) at ${{ steps.deploy.outputs.deployment-url }} - comment_tag: deploy_prod - if: ${{ github.ref_name == 'main' }} + if: github.event_name == 'pull_request'