From e64cdc07290a6d5679dcb7c8b30ea66aa14cae8f Mon Sep 17 00:00:00 2001 From: liuboaibc Date: Thu, 28 May 2020 12:40:30 +0800 Subject: [PATCH] fix preview 2 --- netlify.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index db6058d36..b625fc9b7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,4 +2,7 @@ HUGO_VERSION = "0.70.0" [context.deploy-preview.environment] - HUGO_VERSION = "0.70.0" \ No newline at end of file + HUGO_VERSION = "0.70.0" + +[context.deploy-preview] +command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"