mirror of
https://github.com/aljazceru/disobey.dev.git
synced 2025-12-18 07:44:24 +01:00
Fix GitHub Pages deployment for custom domain
- Remove dynamic baseURL override in workflow that was causing double path issue - Add CNAME file for disobey.dev custom domain - Hugo will now use the baseURL configured in hugo.yaml This fixes the 404 errors for CSS and assets at https://disobey.dev
This commit is contained in:
1
.github/workflows/deploy.yaml
vendored
1
.github/workflows/deploy.yaml
vendored
@@ -82,7 +82,6 @@ jobs:
|
|||||||
hugo \
|
hugo \
|
||||||
--gc \
|
--gc \
|
||||||
--minify \
|
--minify \
|
||||||
--baseURL "${{ steps.pages.outputs.base_url }}/" \
|
|
||||||
--cacheDir "${{ runner.temp }}/hugo_cache"
|
--cacheDir "${{ runner.temp }}/hugo_cache"
|
||||||
- name: Cache save
|
- name: Cache save
|
||||||
id: cache-save
|
id: cache-save
|
||||||
|
|||||||
1
static/CNAME
Normal file
1
static/CNAME
Normal file
@@ -0,0 +1 @@
|
|||||||
|
disobey.dev
|
||||||
Reference in New Issue
Block a user