forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnetlify.toml
More file actions
16 lines (13 loc) · 731 Bytes
/
Copy pathnetlify.toml
File metadata and controls
16 lines (13 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[build]
publish = "docs/public"
command = "git submodule update -f --init --recursive && cd docs/ && npm install && cd themes/docsy && npm install && cd ../../ && hugo --gc --minify"
ignore = "git diff --quiet HEAD^ HEAD docs/"
[build.environment]
HUGO_VERSION = "0.142.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
NODE_VERSION = "18"
[context.deploy-preview]
command = "git submodule update -f --init --recursive && cd docs/ && npm install && cd themes/docsy && npm install && cd ../../ && hugo --gc --minify --buildFuture"
[context.branch-deploy]
command = "git submodule update -f --init --recursive && cd docs/ && npm install && cd themes/docsy && npm install && cd ../../ && hugo --gc --minify"