summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netlify.toml4
-rw-r--r--package.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/netlify.toml b/netlify.toml
index 48dbf1e..c5104bd 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,6 +1,6 @@
[build]
- publish = 'exampleSite/public'
- command = 'hugo --gc --verbose --minify'
+ publish = 'public'
+ command = 'hugo --source=exampleSite --gc --verbose --minify --destination ../public'
[context.production.environment]
HUGO_VERSION = '0.99.1'
diff --git a/package.json b/package.json
index a1823f8..5309a9e 100644
--- a/package.json
+++ b/package.json
@@ -31,7 +31,7 @@
"url": "git+https://github.com/sergeyklay/gohugo-theme-ed.git"
},
"scripts": {
- "build": "hugo --source=exampleSite --gc --verbose --minify",
+ "build": "hugo --source=exampleSite --gc --verbose --minify --destination ../public",
"server": "hugo server --source=exampleSite --disableFastRender",
"lint:editorconfig": "editorconfig-checker",
"lint:js": "eslint static/js/*.js",