diff options
author | Track3 <pengliabc@live.cn> | 2019-06-19 10:05:36 +0300 |
---|---|---|
committer | Track3 <pengliabc@live.cn> | 2019-06-19 10:05:36 +0300 |
commit | c05698cf6dbed4b9f8642766bc06fa9a157c2d9f (patch) | |
tree | 3f28c4cad5fc21943548acf34dac599af481d268 | |
parent | 41f77a9dc1268a144e996021296c25515f3a7fe4 (diff) |
Add netlify.toml
-rw-r--r-- | netlify.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..b130ecf --- /dev/null +++ b/netlify.toml @@ -0,0 +1,13 @@ +[build] + base = "exampleSite" + command = "hugo --gc --themesDir ../.. -b $URL" + publish = "exampleSite/public" + +[build.environment] + HUGO_THEME = "repo" + +[context.deploy-preview] + command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL" + +[context.branch-deploy] + command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL" |