From 6ae29007315adf9c6e703ac4cc78d3c23367606e Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 6 Nov 2025 12:15:50 +0000 Subject: [PATCH] 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 --- .github/workflows/deploy.yaml | 1 - static/CNAME | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 static/CNAME diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 2a41960..69591cd 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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 diff --git a/static/CNAME b/static/CNAME new file mode 100644 index 0000000..a367531 --- /dev/null +++ b/static/CNAME @@ -0,0 +1 @@ +disobey.dev \ No newline at end of file