diff options
author | Mohamed <jeblister@gmail.com> | 2021-07-08 17:07:24 +0300 |
---|---|---|
committer | Mohamed <jeblister@gmail.com> | 2021-07-08 17:07:24 +0300 |
commit | 54062f2fb3abbf4b1af247fb95cdf33fea5f94e9 (patch) | |
tree | 2c3a835d1277609f2e1407189856176329574974 | |
parent | de52ffd38736daa07b8cd1e652e656e176d93b27 (diff) |
add netlify config on main projectv1.0.3
-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" |