.
This commit is contained in:
30
netlify.toml
Normal file
30
netlify.toml
Normal file
@@ -0,0 +1,30 @@
|
||||
[build]
|
||||
publish = "public"
|
||||
command = "git submodule update --remote --merge && npm run build"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.90.0"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.split1]
|
||||
command = "npm run build"
|
||||
|
||||
[context.split1.environment]
|
||||
HUGO_VERSION = "0.90.0"
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "npm run build"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.90.0"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "npm run build"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.90.0"
|
||||
|
||||
[context.next.environment]
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
Reference in New Issue
Block a user