-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
29 lines (24 loc) · 996 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
26
27
28
# Global settings applied to the whole site.
#
# “base” is the directory to change to before starting build. If you set base:
# that is where we will look for package.json/.nvmrc/etc, not repo root!
# “command” is your build command.
# “publish” is the directory to publish (relative to the root of your repo).
[build]
base = ""
command = "npm run build"
publish = "build"
# Production context: All deploys from the main
# repository branch will inherit these settings.
#[context.production]
#command = "make production"
#[context.production.environment]
#ACCESS_TOKEN = "super secret"
# Deploy Preview context: All deploys generated from a pull/merge request
# will inherit these settings.
#[context.deploy-preview.environment]
#ACCESS_TOKEN = "not so secret"
# Branch deploy context: All deploys that are not from a pull/merge request
# or from the production branch will inherit these settings.
[context.branch-deploy]
command = "npm run build"