forked from cilium/tetragon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
25 lines (24 loc) · 1.13 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
# Netlify is handled and authorized by Mahe and we use a free plan.
#
# Netlify currently has a design issue internally so they cannot distinguish
# cancel jobs from failed jobs. So we disabled all notification from starting
# or cancelling/failing jobs so that non-docs related PRs are not spamed with
# Netlify notifications. See https://answers.netlify.com/t/deploy-notifications-cancel-vs-failure/37300.
[build]
base = "/docs"
publish = "public"
command = "npm ci && hugo"
# The ignore command is used by Netlify deploy bot to filter if the PR should
# be previewed or not, and generally if the website should be built or not.
#
# CACHED_COMMIT_REF: reference ID (also known as “SHA” or “hash”) of the last
# commit that we built before the current build. When a build runs without
# cache, CACHED_COMMIT_REF will be the same as the COMMIT_REF.
#
# COMMIT_REF: reference ID (also known as “SHA” or “hash”) of the commit
# we’re building.
#
# See https://answers.netlify.com/t/support-guide-how-to-use-the-ignore-command/37517
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ."
[build.environment]
HUGO_VERSION = "0.120.4"