Skip to content

Commit 9415e84

Browse files
authored
Update pages.yml
1 parent b22d4f2 commit 9415e84

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# .github/workflows/pages.yml
2+
23
name: Build & Deploy Jekyll site to Pages
34

45
on:
@@ -29,10 +30,14 @@ jobs:
2930
bundler-cache: true
3031

3132
- name: Configure Pages
33+
id: pages
3234
uses: actions/configure-pages@v3
3335

3436
- name: Build with Jekyll
35-
run: bundle exec jekyll build --destination _site
37+
run: |
38+
bundle exec jekyll build \
39+
--destination _site \
40+
--baseurl "${{ steps.pages.outputs.base_path }}"
3641
env:
3742
JEKYLL_ENV: production
3843
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)