mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-08 17:15:56 +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
|
HUGO_ENV: production
|
||||||
run: |
|
run: |
|
||||||
hugo \
|
hugo \
|
||||||
--minify \
|
--minify
|
||||||
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
# Don't force a base URL, so relative links work everywhere
|
||||||
|
# --baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue