Skip to content

Commit 6128719

Browse files
authored
Link PR preview comment directly to index.html (#110)
GitHub Pages does not serve the directory index for the preview path, so the bare `.../pr-<n>/` URL 404s. Point the comment at `index.html` (deployment-url already ends with a slash) so the link resolves.
1 parent 24c8155 commit 6128719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-preview-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ jobs:
6767
header: pr-preview
6868
number: ${{ steps.pr.outputs.number }}
6969
message: |
70-
🚀 **Website preview deployed to** ${{ steps.preview.outputs.deployment-url }}
70+
🚀 **Website preview deployed to** ${{ steps.preview.outputs.deployment-url }}index.html

0 commit comments

Comments
 (0)