From 879035b1765580d5bc31c19efc343a392db3ca71 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Wed, 1 Jun 2022 00:03:58 +0200 Subject: Fix netlify.toml build flags --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netlify.toml') diff --git a/netlify.toml b/netlify.toml index 5e671c6..240d8aa 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,13 +15,13 @@ HUGO_ENV = 'production' [context.deploy-preview] - command = 'hugo --gc --minify ---buildDrafts --buildFuture -b $DEPLOY_PRIME_URL' + command = 'hugo --gc --minify --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL' [context.deploy-preview.environment] HUGO_VERSION = '0.99.1' [context.branch-deploy] - command = 'hugo --gc --minify -b $DEPLOY_PRIME_URL' + command = 'hugo --gc --minify --baseURL $DEPLOY_PRIME_URL' [context.branch-deploy.environment] HUGO_VERSION = '0.99.1' -- cgit v1.2.3