File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5050
5151 - name : Build with Jekyll
5252 run : |
53- # Build with baseurl for GitHub Pages
54- bundle exec jekyll build --baseurl "/${{ github.event.repository.name }}"
53+ # Build with baseurl including preview path for correct asset/link URLs
54+ bundle exec jekyll build --baseurl "/${{ github.event.repository.name }}/preview/${{ steps.branch.outputs.safe }} "
5555 env :
5656 JEKYLL_ENV : production
5757
Original file line number Diff line number Diff line change 5151
5252 - name : Build with Jekyll
5353 run : |
54- # Build with baseurl as the fork owner's username for GitHub Pages
55- bundle exec jekyll build --baseurl "/${{ github.event.pull_request.head.repo.name }}"
54+ # Build with baseurl including pr path for correct asset/link URLs
55+ bundle exec jekyll build --baseurl "/${{ github.event.pull_request.head.repo.name }}/pr-${{ github.event.pull_request.number }} "
5656 env :
5757 JEKYLL_ENV : production
5858
You can’t perform that action at this time.
0 commit comments