mirror of
https://github.com/aljazceru/disobey.dev.git
synced 2025-12-16 23:14:18 +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 \
|
||||
--gc \
|
||||
--minify \
|
||||
--baseURL "${{ steps.pages.outputs.base_url }}/" \
|
||||
--cacheDir "${{ runner.temp }}/hugo_cache"
|
||||
- name: 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