Skip to content

Commit

Permalink
GitHub Actions: fix Hugo Publish to GitHub Pages
Browse files Browse the repository at this point in the history
Apparently the CNAME file also needs to be in te gh-pages branch.
  • Loading branch information
booch committed Mar 6, 2024
1 parent 810ec9c commit 94ae616
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/hugo-publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94ae616

Please sign in to comment.