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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml19
1 files changed, 6 insertions, 13 deletions
diff --git a/netlify.toml b/netlify.toml
index 32d2915..59e1ac0 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -10,19 +10,12 @@
# 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
# been specified, include it in the publish directory path.
- publish = "docs/"
+ publish = "exampleSite/docs/"
# Default build command.
- command = "echo 'default context'"
+ command = "npm run build"
-# 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 /"
-
-# Deploy Preview context: all deploys resulting from a pull/merge request will
-# inherit these settings.
-[context.deploy-preview]
- publish = "docs/"
- command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
+[build.environment]
+ HUGO_VERSION = "0.86.0"
+ NODE_VERSION = "16.9.1"
+ NPM_VERSION = "8.3.0"