-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathnetlify.toml
More file actions
26 lines (23 loc) · 1.26 KB
/
Copy pathnetlify.toml
File metadata and controls
26 lines (23 loc) · 1.26 KB
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
# Netlify config for the explainmyrepo LANDING / product site ONLY
# (https://explainmyrepo.isovision.ai), which is Git-connected to this repo.
#
# The GENERATED explainer sites are NOT governed by this file — the pipeline
# deploys each of those to its own Netlify site via the API. This config only
# tells the landing site's Git deploy what to publish.
[build]
# Treat landing/ as the project root. Its package.json exists ONLY to supply
# function deps (@netlify/blobs for the traffic counter); command stays empty,
# so Netlify installs those deps, bundles the functions, and serves the static
# files — it never "builds" the root pipeline. publish is relative to base.
base = "landing"
publish = "."
command = ""
# Monorepo guard: skip the deploy unless landing/ (or this config) changed.
# `git diff --quiet` exits 0 (→ Netlify cancels the build) when nothing in
# those paths changed, and non-zero (→ build proceeds) when something did.
ignore = "git diff --quiet HEAD^ HEAD -- . ../netlify.toml"
# Serverless front door for the hosted "paste a URL → build on our keys" flow.
# Path is relative to base (landing/netlify/functions). Reachable at /.netlify/functions/<name>.
[functions]
directory = "netlify/functions"
node_bundler = "esbuild"