test: find error triggering script
This commit is contained in:
parent
d6af13bd43
commit
a576612d34
|
@ -11,7 +11,7 @@
|
|||
command = "hugo -b $URL --gc --minify && npm run build:functions"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"
|
||||
command = "hugo -b $DEPLOY_PRIME_URL --gc"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"prestart": "npm run clean",
|
||||
"start": "hugo server --disableFastRender",
|
||||
"prebuild": "npm run clean",
|
||||
"build": "hugo --gc && npm run build:functions",
|
||||
"build": "hugo --gc --minify && npm run build:functions",
|
||||
"build:functions": "netlify-lambda build assets/lambda",
|
||||
"build:preview": "npm run build -D -F",
|
||||
"clean": "rimraf public resources functions",
|
||||
|
|
Loading…
Reference in New Issue