Skip to content

Commit c994308

Browse files
committed
🐛 fix PR preview workflow
1 parent 864741a commit c994308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_pr_preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: bundle install
2828

2929
- name: Build Jekyll site
30-
run: bundle exec jekyll build
30+
run: bundle exec jekyll build --baseurl "/pull/${{ github.event.number }}"
3131

3232
- name: Deploy to Preview Branch
3333
run: |
@@ -53,5 +53,5 @@ jobs:
5353
issue_number: context.issue.number,
5454
owner: context.repo.owner,
5555
repo: context.repo.repo,
56-
body: `🚀 PR Preview: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/pull/${{ github.event.number }}`
56+
body: `🚀 PR Preview: https://${{ github.repository_owner }}.github.io/pull/${{ github.event.number }}`
5757
})

0 commit comments

Comments
 (0)