Skip to content

Commit 16934eb

Browse files
committed
fix: remove baseURL override to let production config handle it
The production config already sets the correct baseURL. Overriding it in the workflow causes resource resolution issues with Hugo's image processing.
1 parent 728ae08 commit 16934eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/hugo-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
4545
HUGO_ENVIRONMENT: production
4646
run: |
47-
npm run build -- --baseURL "${{ steps.pages.outputs.base_url }}/"
47+
npm run build
4848
- name: Upload artifact
4949
uses: actions/upload-pages-artifact@v3
5050
with:
@@ -59,4 +59,4 @@ jobs:
5959
steps:
6060
- name: Deploy to GitHub Pages
6161
id: deployment
62-
uses: actions/deploy-pages@v4
62+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)