-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnetlify.toml
More file actions
32 lines (26 loc) · 722 Bytes
/
netlify.toml
File metadata and controls
32 lines (26 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[build]
publish = "public"
command = "hugo --environment staging --minify"
[build.environment]
GO_VERSION = "1.18"
NODE_VERSION = "21.1.0"
HUGO_VERSION = "0.139.2"
[context]
[context.production]
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --environment staging --minify -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
# HUGO_ENV = "staging"
[context.branch-deploy]
command = "hugo --environment staging --minify -b $DEPLOY_URL"
[context.branch-deploy.environment]
# HUGO_ENV = "staging"
[dev]
command = "hugo server -e development -F -D"
functions = "functions"
publish = "public"
port = 8888
targetPort = 1313
framework = "#custom"