Skip to content

Commit f577030

Browse files
fix prefix issue
Signed-off-by: saurabhraghuvanshii <saurabhsraghuvanshi@gmail.com>
1 parent de7c687 commit f577030

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-and-preview-site.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ jobs:
4141
if: github.event.action != 'closed'
4242
run: npm ci
4343

44-
- name: Set PATH_PREFIX
44+
- name: Set PATH_PREFIX for preview
4545
if: github.event.action != 'closed'
46-
run: echo "PATH_PREFIX=layer5" >> $GITHUB_ENV
46+
run: |
47+
echo "PATH_PREFIX=pr-preview/pr-${{ github.event.pull_request.number }}" >> $GITHUB_ENV
4748
4849
- name: Build PR preview
4950
if: github.event.action != 'closed'

0 commit comments

Comments
 (0)