forked from salesagility/SuiteDocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
32 lines (26 loc) · 1.09 KB
/
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
26
27
28
29
30
31
32
# Our build command includes "bundle" to make support Asciidoc format, making sure Asciidoctor gets installed:
[build]
publish = "public"
command = "hugo"
# The Production Context applies to the branch you have configured as main branch to deploy:
[context.production.environment]
HUGO_VERSION = "0.53"
HUGO_ENV = "production"
HUGO_BASEURL = "https://docs.suitecrm.com/"
HUGO_ENABLEGITINFO = "true"
# The Deploy Preview Context applies to every Deploy Preview you create:
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.53"
HUGO_ENABLEGITINFO = "true"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL"
# The Branch Deploy Context applies to all non-master branches deployed, whether they are in a Deploy Preview or not:
[context.branch-deploy.environment]
HUGO_VERSION = "0.53"
HUGO_ENABLEGITINFO = "true"
# Besides these three predefined contexts, you can also use branch names as context names:
[context.preview.environment]
HUGO_BASEURL = "https://docs.suitecrm.com/"
HUGO_ENABLEGITINFO = "true"