diff --git a/.github/workflows/generate-preview-link.yml b/.github/workflows/generate-preview-link.yml index 153e1d59298..e8a1c1434e4 100644 --- a/.github/workflows/generate-preview-link.yml +++ b/.github/workflows/generate-preview-link.yml @@ -174,7 +174,7 @@ jobs: ].join('\n') core.setOutput("comment", comment); - name: Post Cloudflare Pages Preview comment - if: always() + if: success() || failure() uses: marocchino/sticky-pull-request-comment@v2 with: header: Cloudflare Pages Preview Comment