forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
33 lines (30 loc) · 1.04 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
[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.19"
NODE_VERSION = "18.13.0"
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
# Netlify is only used for docs.taskcluster.net
# so always (force) a redirect to /docs so we don't
# use the index page intended for the app as landing
[[redirects]]
from = "/"
to = "/docs/"
status = 301
force = true