-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
34 lines (30 loc) · 1023 Bytes
/
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
[build]
base = "web"
publish = "web/public"
command = """
git lfs install
git lfs pull
yarn --ignore-engines --ignore-optional --non-interactive
pandoc-citeproc --bib2json ../Documentation/bibliography.bib > data/bibliography.json
hugo
node_modules/.bin/hugo-algolia --toml -s"""
[build.environment] # global variables
HUGO_VERSION = "0.47.1"
GIT_LFS_ENABLED = "true"
[context.production.environment]
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = """
git lfs install
git lfs pull
yarn --ignore-engines --ignore-optional --non-interactive
pandoc-citeproc --bib2json ../Documentation/bibliography.bib > data/bibliography.json
hugo -b $DEPLOY_PRIME_URL"""
[context.branch-deploy]
command = """
git lfs install
git lfs pull
yarn --ignore-engines --ignore-optional --non-interactive
pandoc-citeproc --bib2json ../Documentation/bibliography.bib > data/bibliography.json
hugo -b $DEPLOY_PRIME_URL"""