File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,8 @@ export const buildPreviewURLComment = (prNumber) => {
17
17
const prHash = `pr-${ prNumber } ` ;
18
18
const baseUrl = 'https://spectrumcss.z13.web.core.windows.net' ;
19
19
20
- return `PR #${ prNumber } has been deployed to Azure Blob Storage: ${ baseUrl } /${ prHash } /index.html.` ;
20
+ return `## 📚 Branch preview
21
+
22
+ PR #${ prNumber } has been deployed to Azure Blob Storage: [${ baseUrl } /${ prHash } /index.html](${ baseUrl } /${ prHash } /index.html).` ;
23
+
21
24
} ;
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108
108
const { commentOrUpdate } = await import('${{ github.workspace }}/.github/scripts/comment-or-update.js');
109
109
const prNumber = context.payload.pull_request.number;
110
110
const body = buildPreviewURLComment(prNumber);
111
- commentOrUpdate(github, context, '## 📚 Branch Preview ', body);
111
+ commentOrUpdate(github, context, '## 📚 Branch preview ', body);
112
112
113
113
close_pull_request_job :
114
114
if : github.event_name == 'pull_request' && github.event.action == 'closed'
You can’t perform that action at this time.
0 commit comments