diff options
-rw-r--r-- | netlify.toml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..b45f038 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,30 @@ +[build] +publish = "public" +command = "hugo" + +[context.production.environment] +HUGO_VERSION = "0.80.0" +HUGO_ENV = "production" +HUGO_ENABLEGITINFO = "true" + +[context.split1] +command = "hugo --enableGitInfo" + +[context.split1.environment] +HUGO_VERSION = "0.80.0" +HUGO_ENV = "production" + +[context.deploy-preview] +command = "hugo -b $DEPLOY_PRIME_URL" + +[context.deploy-preview.environment] +HUGO_VERSION = "v0.80.0" + +[context.branch-deploy] +command = "hugo -b $DEPLOY_PRIME_URL" + +[context.branch-deploy.environment] +HUGO_VERSION = "v0.80.0" + +[context.next.environment] +HUGO_ENABLEGITINFO = "true" |