Switch to relative URLs on build

This commit is contained in:
JP Hastings-Spital 2023-05-08 10:42:17 +01:00
parent 88edf6686f
commit dad8253bc3

View file

@ -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: