Skip to content

Commit 5d9dc9e

Browse files
author
RistoBin
committed
update build.environment in the netlify.toml
1 parent 10c2d1f commit 5d9dc9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netlify.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
publish = "exampleSite/public"
55

66
[build.environment]
7+
HUGO_VERSION = "0.55.6"
78
HUGO_THEME = "repo"
9+
HUGO_BASEURL = "/"
810

911
[context.deploy-preview]
1012
command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"
1113

1214
[context.branch-deploy]
1315
command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"
14-

0 commit comments

Comments
 (0)