summaryrefslogtreecommitdiffstats
path: root/netlify.toml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-04-13 09:04:18 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2024-04-13 09:44:25 +0200
commit0c6aad8d28d9398dc36c70149e221f3af62203cc (patch)
tree82feb54ad7f30d39be2d28b8a3a111a4d7698f76 /netlify.toml
parent69e11ac3fa82228ee544cc5423f344d84d1569f8 (diff)
downloadgohugo-theme-ed-0c6aad8d28d9398dc36c70149e221f3af62203cc.tar.gz
Replace Go script with Node.js implementation
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml
index c14d827..55134eb 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -27,7 +27,7 @@
# Deploy Preview context: all deploys generated from
# a pull/merge request will inherit these settings.
[context.deploy-preview]
- command = 'go run netlify-pr.go; hugo --source=exampleSite --buildDrafts --buildFuture --baseURL ${DEPLOY_PRIME_URL} --destination ../public --minify'
+ command = 'npm run netlify-preview; hugo --source=exampleSite --buildDrafts --buildFuture --baseURL ${DEPLOY_PRIME_URL} --destination ../public --minify'
[context.deploy-preview.environment]
HUGO_ENV = 'development'