Skip to content

Commit 653365a

Browse files
committed
Site: pin Netlify Hugo so hugo.toml is found
1 parent 017a465 commit 653365a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Pin the same Hugo GitHub Actions uses (peaceiris hugo-version 0.165.0).
2+
# Netlify UI still owns base=web, command=hugo, publish=web/public.
3+
# Older default Hugo does not read hugo.toml, so deploy-preview fails with
4+
# "Unable to locate config file".
5+
[build.environment]
6+
HUGO_VERSION = "0.165.0"

0 commit comments

Comments
 (0)