Repository navigation
chore(ci): upgrade Hugo to 0.171.0 and update layout overrides - #68
Merged
Merged
Conversation
Contributor
|
🚀 Preview deployment ready! ✨ Preview URL: https://Equitizers.github.io/MetaCurious/pr-68/ The preview will be automatically updated with each commit and cleaned up when the PR is closed or merged.
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Per-ref concurrency allows publishing runs to race on the shared gh-pages branch, risking stale content overwriting a newer production deployment.
1 open issue
What changed in this PR
Updates the site's Hugo setup for newer PaperMod releases, including #67, and modernizes deployment workflows.
Changes:
- Upgrades CI to Hugo 0.171.0 and replaces deprecated template/configuration fields.
- Pins runners and actions, scopes permissions, and adds a production-workflow PR dry run.
- Updates local-development and workflow documentation.
| File | Description |
|---|---|
| README.md | Raises the documented minimum Hugo version. |
| layouts/partials/header.html | Uses the updated language label field. |
| layouts/_default/baseof.html | Updates the version guard and language direction field. |
| hugo.toml | Replaces languageCode with locale. |
| .github/workflows/README.md | Documents the upgraded CI Hugo version. |
| .github/workflows/prod-deploy.yml | Upgrades tooling and adds guarded PR dry runs. |
| .github/workflows/pr-deploy.yml | Upgrades tooling and scopes deployment permissions. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

d376885to1181196#67) by upgradingHUGO_VERSIONfrom0.146.0to0.171.0in.github/workflows/pr-deploy.ymland.github/workflows/prod-deploy.yml, pinning runner/action versions (ubuntu-24.04, SHA-pinned actions,permissions: {}), updating deprecated Hugo 0.158.0+ config/template fields inhugo.toml,layouts/_default/baseof.html, andlayouts/partials/header.html, and adding a PR dry-run trigger on.github/workflows/prod-deploy.yml..github/workflows/prod-deploy.yml), thoughDeploy to gh-pagesis gated ongithub.event_name != 'pull_request'so PR runs cannot publish togh-pages;hugo.tomluseslocale = 'en-us'instead oflanguageCode, which works with both current PaperModd376885and chore(deps): bump themes/PaperMod fromd376885to1181196#67's1181196.docker.io/rhysd/actionlint:1.7.12in Podman (0 errors/warnings); built the site indocker.io/library/ubuntu:26.04with Hugo0.171.0against bothd376885(12 pages, 0 errors,en-usverified inpublic/index.xml) and chore(deps): bump themes/PaperMod fromd376885to1181196#67's1181196(12 pages, 0 warnings, 0 errors,en-usverified inpublic/index.xml); plus PR CI runs for both workflows.Refs #67