diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-27 00:31:51 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-27 00:31:51 +0200 |
| commit | 1e5239d9116d0cc3128131e0d613a25b3efece9b (patch) | |
| tree | 52bba568c20d01feff2b6b23c17f5c628ed23734 | |
| parent | 08853145227f9cdcf5e969389121afe91e7cac01 (diff) | |
| download | gohugo-theme-ed-1e5239d9116d0cc3128131e0d613a25b3efece9b.tar.gz | |
Correct build command
| -rw-r--r-- | netlify.toml | 4 | ||||
| -rw-r--r-- | 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", |
