From c05698cf6dbed4b9f8642766bc06fa9a157c2d9f Mon Sep 17 00:00:00 2001 From: Track3 Date: Wed, 19 Jun 2019 15:05:36 +0800 Subject: [PATCH] Add netlify.toml --- netlify.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 netlify.toml 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"