-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnetlify.toml
56 lines (46 loc) · 1.64 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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 prerender"
publish = "dist"
# Production context: All deploys from the main
# repository branch will inherit these settings.
[context.production]
# command = "make production"
[context.production.environment]
NODE_ENV = "production"
BUILD_OPTION = "prerender"
# 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 prerender"
# Specific branch context: Deploys from this branch
# will take these settings and override their
# current ones.
[context."under-construction"]
command = ""
publish = "under-construction"
[context."preview"]
command = "npm run preview"
publish = "dist"
[[redirects]]
from = "http://editor.plenum.space"
to = "https://plenum-website.prismic.io"
[[redirects]]
from = "https://editor.plenum.space"
to = "https://plenum-website.prismic.io"
[[redirects]]
from = "http://editor.plenum.space/*"
to = "https://plenum-website.prismic.io"
[[redirects]]
from = "https://editor.plenum.space/*"
to = "https://plenum-website.prismic.io"