From 1f99005973c0187a9c6cad7d500a7f0784256331 Mon Sep 17 00:00:00 2001 From: Craig Buchek Date: Wed, 6 Mar 2024 00:36:31 -0800 Subject: [PATCH] GitHub Actions: fix Hugo Publish to GitHub Pages Apparently the CNAME file also needs to be in the gh-pages branch. --- .github/workflows/hugo-publish-github-pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/hugo-publish-github-pages.yml b/.github/workflows/hugo-publish-github-pages.yml index 98bce2b..5fdd3b9 100644 --- a/.github/workflows/hugo-publish-github-pages.yml +++ b/.github/workflows/hugo-publish-github-pages.yml @@ -64,6 +64,7 @@ jobs: HUGO_ENV: production run: | hugo --gc --minify + cp CNAME public/ - name: Upload artifact uses: actions/upload-pages-artifact@v3