forked from salesagility/SuiteDocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
31 lines (25 loc) · 1.21 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
# Our build command used to include "bundle" to support Asciidoc format,
# making sure Asciidoctor gets installed, now Netlify seems to take care of it
[build]
publish = "public"
command = "chmod +x build.sh && ./build.sh"
HUGO_ENABLEGITINFO = "true"
# RUBY_VERSION = "2.6.2" is set as environment variable in Netlify UI, Deploy settings
# The Production Context applies to the branch you have configured as main branch to deploy:
[context.production.environment]
HUGO_VERSION = "0.85.0"
HUGO_ENV = "production"
HUGO_BASEURL = "https://docs.suitecrm.com"
# The Deploy Preview Context applies to every Deploy Preview you create:
[context.deploy-preview]
command = "chmod +x build.sh && ./build.sh -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.85.0"
[context.branch-deploy]
command = "chmod +x build.sh && ./build.sh -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.85.0"
# Besides these three predefined contexts, you can also use branch names as context names:
[context.preview.environment]
HUGO_BASEURL = "https://docs.suitecrm.com"