-
Notifications
You must be signed in to change notification settings - Fork 12
/
netlify.toml
40 lines (32 loc) · 1.27 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
[Settings]
# Added automatically by the Netlify CLI. It has no effect during normal
# Git-backed deploys.
ID = "b0838013-ab4a-4e8d-a266-0eb61405ad77"
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
base = "docs"
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build.
publish = "build"
# Default build command.
command = "npm run build"
# Directory with the lambda functions to deploy to AWS.
# functions = "project/functions/"
[build.environment]
NODE_VERSION = "18.19.0"
# Production context: all deploys from the Production branch set in your site's
# deploy settings will inherit these settings.
# [context.production]
# publish = "output/"
# command = "make publish"
# environment = { ACCESS_TOKEN = "super secret", NODE_ENV = "8.0.1" }
# Deploy Preview context: all deploys resulting from a pull/merge request will
# inherit these settings.
# [context.deploy-preview]
# publish = "dist/"
[[redirects]]
from = "/:version/features/telemetry"
to = "/:version/features/correlation#logging"