From aacf9f29bd6cab8632fc1adbc42cb1bd6613b77c Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 Sep 2024 08:43:17 +0200 Subject: Simplify demo site configuration --- netlify.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'netlify.toml') diff --git a/netlify.toml b/netlify.toml index 14fc339..6e37d47 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,7 +7,6 @@ # a base has not been set. This sample publishes the directory # located at the absolute path "root/project/build-output" publish = 'public' - command = 'npm install' [build.environment] HUGO_VERSION = '0.121.0' @@ -19,7 +18,7 @@ # here, but we recommend using the Netlify UI for sensitive # values to keep them out of your source repository. [context.production] - command = 'npm run netlify-production; hugo --source=exampleSite --baseURL ${URL} --destination ../public --minify' + command = 'hugo --source=exampleSite --baseURL ${URL} --destination ../public --minify' [context.production.environment] HUGO_ENV = 'production' -- cgit v1.2.3