forked from talves/hugo-resource-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
25 lines (22 loc) · 808 Bytes
/
netlify.toml
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
# Global settings applied to the whole site.
[build]
command = "hugo"
publish = "public"
HUGO_ENV = "preview"
# The default version you use for production if you don't use context below
[build.environment]
HUGO_VERSION = "0.32.3"
# build a preview of the site (Drafts and Future dates also)
[context.deploy-preview]
command = "hugo --buildFuture"
[context.production.environment]
HUGO_VERSION = "0.32.3"
HUGO_ENV = "production"
# you can lock a version of hugo for a deploy preview
[context.deploy-preview.environment]
HUGO_VERSION = "0.32.3"
HUGO_ENV = "deploy" # TEST: should be deploy or something other than production
# you can lock a version of hugo for a branch-deploy (other than previews)
[context.branch-deploy.environment]
HUGO_VERSION = "0.32.3"
HUGO_ENV = "development"