Skip to content

Commit ab50e92

Browse files
committed
Update : comment workflow
1 parent c689eb9 commit ab50e92

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ jobs:
8585
8686
- name: Comment on PR with preview link
8787
if: github.event_name == 'pull_request'
88-
uses: marocchino/sticky-pull-request-comment@v2
88+
uses: hasura/comment-progress@v2.2.0
8989
with:
90-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91-
message: "A preview of this PR is available at: [Preview Link](${env.BASE_URL})"
90+
github-token: ${{ secrets.GITHUB_TOKEN }}
91+
repository: ${{ github.repository }}
92+
number: ${{ github.event.pull_request.number }}
93+
id: deploy-preview
94+
message: "A preview of this PR is available at: [Preview Link](${ env.BASE_URL })\n\nChanges may take a few minutes to propagate. Since this is a preview of production, content with `draft: true` will not be rendered. The source is here: https://github.com/${{ github.repository }}/tree/gh-pages/pr-${{ github.event.number }}/"

0 commit comments

Comments
 (0)