-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
29 lines (24 loc) · 1.06 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
# Netlify Deploy
# 1. Confirm "build:netlify" command is included in themes/default/package.json
# 2. Set params.runTests: false in config/environments/netlify.yml
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
publish = "site"
command = "npm --prefix themes/default/ run build:netlify"
[build.environment]
NODE_VERSION = "14.18.1"
HUGO_VERSION = "0.82.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
# These two GIT_LFS variables need to be added to the project’s
# Deploy Settings in the Netlify UI, under Environment Variables:
# https://app.netlify.com/sites/<your-subdomain-here>/settings/deploys#environment
GIT_LFS_ENABLED = "true"
GIT_LFS_FETCH_INCLUDE = "*.jpeg,*.jpg,*.png,*.gif,*.epub,*.mobi,*.pdf,*.html"
# Settings for a `forthcoming` branch, which is just a static page
# They may also need to be cleared in the Netlify UI:
# https://app.netlify.com/sites/<your-subdomain-here>/settings/deploys#build-settings
[context.forthcoming]
publish = ""
command = ""