netlify deployment

This commit is contained in:
gurusabarish
2021-03-20 07:43:47 +05:30
parent 252ec5277f
commit c29489775b
8 changed files with 22 additions and 637 deletions
+9 -6
View File
@@ -1,30 +1,33 @@
[build]
publish = "public"
command = "hugo --gc --minify"
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --minify --themesDir ../.."
[context.production.environment]
HUGO_VERSION = "0.76.5"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
HUGO_THEME = "repo"
[context.split1]
command = "hugo --gc --minify --enableGitInfo"
command = "cd exampleSite && hugo --gc --minify --enableGitInfo --themesDir ../.."
[context.split1.environment]
HUGO_VERSION = "0.76.5"
HUGO_ENV = "production"
HUGO_THEME = "repo"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
command = "cd exampleSite && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.76.5"
HUGO_THEME = "repo"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.76.5"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
HUGO_ENABLEGITINFO = "true"