-
Notifications
You must be signed in to change notification settings - Fork 20
/
netlify.toml
35 lines (30 loc) · 1.05 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
33
34
35
# Global settings applied to the whole site.
# “base” is directory to change to before starting build, and
# “public” is the directory to publish (relative to root of your repo).
# “command” is your build command.
[build]
base = "example"
publish = "example/dist"
command = "npm run netlify"
# Production context: All deploys to the main
# repository branch will inherit these settings.
# [context.production]
# command = "make production"
# [context.production.environment]
# ACCESS_TOKEN = "super secret"
# Deploy Preview context: All Deploy Previews
# will inherit these settings.
# [context.deploy-preview.environment]
# ACCESS_TOKEN = "not so secret"
# Branch Deploy context: All deploys that are not in
# an active Deploy Preview will inherit these settings.
# [context.branch-deploy]
# command = "make staging"
# Specific branch context: Deploys from this branch
# will take these settings and override their
# current ones.
# [context.feature]
# command = "make feature"
#
# [context."features/branch"]
# command = "gulp"