Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9a3e8b

Browse files
committed
netlify./toml needs all the hugo versions I guess
1 parent c16fb95 commit e9a3e8b

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

netlify.toml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
[build]
2-
publish = "public"
3-
HUGO_VERSION = "0.145.0"
4-
HUGO_ENABLEGITINFO = "true"
2+
publish = "public"
3+
HUGO_VERSION = "0.145.0"
4+
HUGO_ENABLEGITINFO = "true"
55

66
[context.production.environment]
7-
command = "hugo --minify"
8-
HUGO_ENV = "production"
9-
HUGO_TITLE = "blog.jemu.name"
7+
command = "hugo --minify"
8+
HUGO_VERSION = "0.145.0"
9+
HUGO_ENV = "production"
10+
HUGO_TITLE = "blog.jemu.name"
1011
[context.branch-deploy.environment]
11-
command = "hugo --minify -D"
12-
HUGO_TITLE = "Branch Preview - blog.jemu.name"
12+
command = "hugo --minify -D"
13+
HUGO_VERSION = "0.145.0"
14+
HUGO_TITLE = "Branch Preview - blog.jemu.name"
1315
[context.deploy-preview.environment]
14-
command = "hugo --minify -D"
15-
HUGO_TITLE = "Deploy Preview - blog.jemu.name"
16+
command = "hugo --minify -D"
17+
HUGO_VERSION = "0.145.0"
18+
HUGO_TITLE = "Deploy Preview - blog.jemu.name"

0 commit comments

Comments
 (0)