Skip to content

Commit

Permalink
GitHub Actions: update Publish to GitHub Pages
Browse files Browse the repository at this point in the history
Per ChatGPT's suggestion, don't specify the base URL in the Hugo
build command.
  • Loading branch information
booch committed Mar 4, 2024
1 parent 37e8097 commit fd6f14f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/hugo-publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ jobs:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
hugo --gc --minify
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit fd6f14f

Please sign in to comment.