forked from docksal/docksal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
25 lines (20 loc) · 765 Bytes
/
netlify.toml
File metadata and controls
25 lines (20 loc) · 765 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
[build]
# This default build command adds the robots noindex directive to the site headers.
# It is turned off for only for the production site by using [context.master] below
# DO NOT REMOVE THIS
publish = "docs/public"
functions = "functions"
command = "cd docs && hugo --enableGitInfo"
[build.environment]
HUGO_VERSION = "0.50"
[context.production.environment]
HUGO_BASEURL = "https://docs.docksal.io/"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = "cd docs && hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "cd docs && hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
[context.master]
# This context is triggered by the `master` branch and allows search indexing
command = "cd docs && hugo"