forked from Kong/kongponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
31 lines (27 loc) · 966 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
31
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
#
# Defaulting to the settings for the `main` branch
[build]
base = "/"
command = "yarn docs:build"
publish = "docs/.vitepress/dist"
environment = { NODE_VERSION = "18.12.1", YARN_FLAGS="--frozen-lockfile --ignore-optional" }
# ##############################
# 'main' branch
# ##############################
# 'main' branch context
[context.main]
base = "/"
command = "yarn docs:build"
publish = "docs/.vitepress/dist"
environment = { NODE_VERSION = "18.12.1", YARN_FLAGS="--frozen-lockfile --ignore-optional" }
# ##############################
# 'legacy' branch
# ##############################
# 'legacy' branch context
[context.legacy]
base = "/"
command = "yarn docs:build"
publish = "docs/.vitepress/dist"
environment = { NODE_VERSION = "18.12.1", YARN_FLAGS="--frozen-lockfile --ignore-optional" }