From 1e5239d9116d0cc3128131e0d613a25b3efece9b Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 27 May 2022 00:31:51 +0200 Subject: Correct build command --- netlify.toml | 4 ++-- package.json | 2 +- 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", -- cgit v1.2.3