diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index bfdef6dccf..9f2ff54807 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -211,7 +211,7 @@ jobs: for (const [page, files] of pageToFiles) { const fileUrl = `${deployUrl}/${page}`; if (files.length === 1) { - commentBody += `- [${files[0]}](${fileUrl})\n`; + commentBody += `- [${page}](${fileUrl})\n`; } else { // Multiple source files map to one page - show page with file summary const basenames = files.map(f => f.split('/').pop());