mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-06-15 04:52:55 -04:00
👷 Update Netlify config
This commit is contained in:
+12
-4
@@ -1,16 +1,24 @@
|
||||
[build]
|
||||
base = "exampleSite"
|
||||
command = "hugo --gc --minify"
|
||||
command = "hugo --gc --minify -b $URL"
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.86.1"
|
||||
HUGO_THEMESDIR = "../.."
|
||||
HUGO_THEME = "repo"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_BASEURL = $URL
|
||||
HUGO_VERSION = "0.86.1"
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_BASEURL = $DEPLOY_PRIME_URL
|
||||
HUGO_VERSION = "0.86.1"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.86.1"
|
||||
|
||||
Reference in New Issue
Block a user