Skip to content

Commit 02387a6

Browse files
committed
Chore: enhance pull request comment with deployment details and preview URL
Signed-off-by: hortison <[email protected]>
1 parent 6f359de commit 02387a6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/static.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,13 @@ jobs:
5353
if: github.event_name == 'pull_request'
5454
uses: marocchino/sticky-pull-request-comment@v2
5555
with:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5657
message: |
57-
🚀 Preview: ${{ steps.deployment.outputs.page_url }}
58+
🚀 **Preview deployment for PR #${{ github.event.pull_request.number }}**
59+
60+
📖 Preview: ${{ steps.deployment.outputs.page_url }}
61+
🌐 Alternative URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/
62+
63+
> Environment: `pr-preview-${{ github.event.pull_request.number }}`
64+
65+
This preview will be updated automatically when you push new commits to this PR.

0 commit comments

Comments
 (0)