forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
30 lines (27 loc) · 943 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
29
30
[build]
base = "ui"
command = "GENERATE_ENV_JS=1 yarn build"
publish = "build"
# an exit-code of 1 indicates the contents have changed
# netlify build will be skipped if the exit-code is 0
# command will be run from the base directory (i.e., ui)
ignore = "git diff --quiet HEAD^ HEAD -- . ':!docs'"
[build.environment]
YARN_FLAGS = "--frozen-lockfile"
YARN_VERSION = "1.22.4"
NODE_VERSION = "14.15.4"
APPLICATION_NAME = "Taskcluster"
GRAPHQL_ENDPOINT = "https://community-tc.services.mozilla.com/graphql"
GRAPHQL_SUBSCRIPTION_ENDPOINT = "https://community-tc.services.mozilla.com/subscription"
UI_LOGIN_STRATEGY_NAMES = ""
TASKCLUSTER_ROOT_URL = "https://community-tc.services.mozilla.com"
# Rule for Single Page Applications (docs)
[[redirects]]
from = "/docs/*"
to = "/docs.html"
status = 200
# Rule for Single Page Applications (app)
[[redirects]]
from = "/*"
to = "/index.html"
status = 200