From 0c6aad8d28d9398dc36c70149e221f3af62203cc Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 13 Apr 2024 09:04:18 +0200 Subject: Replace Go script with Node.js implementation --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netlify.toml') 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' -- cgit v1.2.3