mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-08 13:05:57 +01:00
Switch to relative URLs on build
This commit is contained in:
parent
88edf6686f
commit
dad8253bc3
1 changed files with 3 additions and 2 deletions
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
|
@ -43,8 +43,9 @@ jobs:
|
|||
HUGO_ENV: production
|
||||
run: |
|
||||
hugo \
|
||||
--minify \
|
||||
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||
--minify
|
||||
# Don't force a base URL, so relative links work everywhere
|
||||
# --baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue