forked from ethereum/nxbn-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
47 lines (36 loc) · 1.47 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
# 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 = "project/"
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "public"
# Directory with the serverless Lambda functions to deploy to AWS.
# functions = "public/lambda"
# Default build command.
command = "yarn build"
# DEPLOY CONTEXTS
# Production context: all deploys from the Production branch set in your site's
# deploy contexts will inherit these settings.
# [context.production]
# publish = "project/output/"
# command = "make publish"
# environment = { ACCESS_TOKEN = "super secret", NODE_VERSION = "8.0.1" }
# Deploy Preview context: all deploys generated from a pull/merge request will
# inherit these settings.
# [context.deploy-preview]
# publish = "project/dist/"
# REDIRECTS
# [[redirects]]
# from = "/honduras"
# to = "/es/local-grants/honduras"
[functions]
# Directory with serverless functions, including background
# functions, to deploy. This is relative to the base directory
# if one has been set, or the root directory if
# a base hasn’t been set.
directory = "src/lambdas"
node_bundler = "esbuild"