summaryrefslogtreecommitdiffstats
path: root/netlify.toml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-09-28 08:43:17 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2024-09-28 08:43:17 +0200
commitaacf9f29bd6cab8632fc1adbc42cb1bd6613b77c (patch)
tree706738030806c33d80f2e1626a2bde01d1a943e9 /netlify.toml
parentdc2f8527981d63c637f02823f6d1784ceefceeb3 (diff)
downloadgohugo-theme-ed-aacf9f29bd6cab8632fc1adbc42cb1bd6613b77c.tar.gz
Simplify demo site configuration
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml3
1 files changed, 1 insertions, 2 deletions
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'