Add netlify.toml with build config#11
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for powershellorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
base = "/" resolves to the filesystem root, not the repo root. Omitting base entirely is the correct way to build from the repo root. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Netlify's HUGO_VERSION env var is being silently ignored on the Noble build image (still running bundled 0.121.2 despite HUGO_VERSION=0.155.1). The third-party hugo-theme-component-ical module uses warnidf which requires Hugo >= 0.123, so we need a controlled install. Mirrors the wget + dpkg approach used in .github/workflows/deploy.yml. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The npm hugo-extended devDependency was pinned at ^0.121.0, so Netlify's auto npm install was putting Hugo 0.121.x on the PATH ahead of any HUGO_VERSION-resolved binary. That's why HUGO_VERSION appeared to be ignored — it wasn't, the npm-installed Hugo just took precedence. Bumping to ^0.155.1 brings npm-installed Hugo above the 0.123 cutoff where warnidf landed, so the hugo-theme-component-ical module builds. Also reverts the wget+dpkg workaround from netlify.toml — no longer needed now that the npm-installed Hugo is current. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Match the live Netlify site configuration. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Summary
netlify.tomlwith Hugo build command, publish directory, and cache headersbase = "/"so Netlify runs Hugo from the repo root (notdocs/)warnidfcall inlayouts/_partials/event.ics— replaced withwarnffor compatibility with Hugo < 0.123Test plan
public/is used as the publish directory🤖 Generated with Claude Code