Skip to content

Commit 82bef4e

Browse files
committed
netlify config
1 parent ebfcfa6 commit 82bef4e

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

netlify.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[build]
2+
publish = "public"
3+
command = "hugo"
4+
5+
[context.production.environment]
6+
HUGO_VERSION = "0.37.1"
7+
HUGO_ENV = "production"
8+
HUGO_ENABLEGITINFO = "true"
9+
10+
[context.split1]
11+
command = "hugo --enableGitInfo"
12+
13+
[context.split1.environment]
14+
HUGO_VERSION = "0.37.1"
15+
HUGO_ENV = "production"
16+
17+
[context.deploy-preview]
18+
command = "hugo"
19+
20+
[context.deploy-preview.environment]
21+
HUGO_VERSION = "0.37.1"
22+
23+
[context.branch-deploy]
24+
command = "hugo"
25+
26+
[context.branch-deploy.environment]
27+
HUGO_VERSION = "0.37.1"
28+
29+
[context.next.environment]
30+
HUGO_ENABLEGITINFO = "true"

0 commit comments

Comments
 (0)