Closed hugo-sid closed 10 months ago
Name | Link |
---|---|
Latest commit | c015a25f3ae2b94abd4a9ef7e694925e3d76acbc |
Latest deploy log | https://app.netlify.com/sites/hugo-lynx/deploys/64f02d1150372c00082b63f7 |
Deploy Preview | https://deploy-preview-88--hugo-lynx.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thanks, I'm happy to merge this in.
What does this PR do?
Fixes redundant environment variable specification across contexts.
Explanation
The environment variable
HUGO_VERSION
holds the same value for all contexts (production, deploy-preview, and branch-deploy). Specifying it separately for each context becomes redundant.Specifying it once under
[build.environment]
should be enough.Reference
From https://docs.netlify.com/configure-builds/file-based-configuration/#deploy-contexts :