Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Track3/hermit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrack3 <pengliabc@live.cn>2019-06-19 10:05:36 +0300
committerTrack3 <pengliabc@live.cn>2019-06-19 10:05:36 +0300
commitc05698cf6dbed4b9f8642766bc06fa9a157c2d9f (patch)
tree3f28c4cad5fc21943548acf34dac599af481d268
parent41f77a9dc1268a144e996021296c25515f3a7fe4 (diff)
Add netlify.toml
-rw-r--r--netlify.toml13
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"