diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f5f5ff2..ee537af 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -204,7 +204,7 @@ jobs: # Create sticky comment with preview link # Following https://github.com/rossjrw/pr-preview-action?tab=readme-ov-file#customise-the-sticky-comment - - uses: marocchino/sticky-pull-request-comment@v2 + - uses: marocchino/sticky-pull-request-comment@v3 if: steps.preview-step.outputs.deployment-action == 'deploy' && env.deployment_status == 'success' with: header: pr-preview @@ -215,7 +215,7 @@ jobs: |

QR code for preview link

:rocket: View preview at
${{ steps.preview-step.outputs.preview-url }}

|
Built to branch [`gh-pages`](${{ github.server_url }}/${{ github.repository }}/tree/gh-pages) at ${{ steps.preview-step.outputs.action-start-time }}.
Preview will be ready when the [GitHub Pages deployment](${{ github.server_url }}/${{ github.repository }}/deployments) is complete.

- - uses: marocchino/sticky-pull-request-comment@v2 + - uses: marocchino/sticky-pull-request-comment@v3 if: steps.preview-step.outputs.deployment-action == 'remove' && env.deployment_status == 'success' with: header: pr-preview