Skip to content

Commit b1e1e55

Browse files
Use baseUrl
1 parent da11c0e commit b1e1e55

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: github.event.action != 'closed'
2626

2727
- name: Build with Jekyll
28-
run: bundle exec jekyll build
28+
run: bundle exec jekyll build --baseurl "/pr-preview/pr-${{ github.event.pull_request.number }}"
2929
env:
3030
JEKYLL_ENV: production
3131
if: github.event.action != 'closed'

Gemfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
source "https://rubygems.org"
22

33
gem "github-pages", group: :jekyll_plugins
4-
gem "jekyll-include-cache", group: :jekyll_plugins
54

5+
gem "tzinfo-data"
6+
gem "wdm", "~> 0.1.0" if Gem.win_platform?
7+
8+
# If you have any plugins, put them here!
9+
group :jekyll_plugins do
10+
gem "jekyll-paginate"
11+
gem "jekyll-sitemap"
12+
gem "jekyll-gist"
13+
gem "jekyll-feed"
14+
gem "jemoji"
15+
gem "jekyll-include-cache"
16+
gem "jekyll-algolia"
17+
end

0 commit comments

Comments
 (0)