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

github.com/hivickylai/hugo-theme-sam.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netlify.toml10
1 files changed, 5 insertions, 5 deletions
diff --git a/netlify.toml b/netlify.toml
index 76b6bc4..7a09c9c 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -7,7 +7,7 @@
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
- # base = "exampleSite/"
+ base = "exampleSite/"
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
@@ -19,12 +19,12 @@
# Production context: all deploys from the Production branch set in your site's
# deploy contexts will inherit these settings.
-# [context.production]
-# publish = "docs/"
-# command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
+[context.production]
+ publish = "docs/"
+ command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
# Deploy Preview context: all deploys resulting from a pull/merge request will
# inherit these settings.
[context.deploy-preview]
publish = "docs/"
- command = "echo 'default context'"
+ command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"