-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
38 lines (33 loc) · 1.08 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
[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.64.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"""
[[redirects]]
from = "/papers"
to = "https://www.ufz.de/index.php?en=37204"