From 94ae6167ea969b5a5cd556149e1679d72fe36980 Mon Sep 17 00:00:00 2001 From: Craig Buchek Date: Wed, 6 Mar 2024 00:34:06 -0800 Subject: [PATCH] GitHub Actions: fix Hugo Publish to GitHub Pages Apparently the CNAME file also needs to be in te gh-pages branch. --- .github/workflows/hugo-publish-github-pages.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/hugo-publish-github-pages.yml b/.github/workflows/hugo-publish-github-pages.yml index 898607b..8eb7ecd 100644 --- a/.github/workflows/hugo-publish-github-pages.yml +++ b/.github/workflows/hugo-publish-github-pages.yml @@ -64,11 +64,7 @@ jobs: HUGO_ENV: production run: | hugo --gc --minify - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./public + cp CNAME public/ - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3