summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-06-01 00:03:58 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-06-01 00:03:58 +0200
commit879035b1765580d5bc31c19efc343a392db3ca71 (patch)
tree47b53bddac32621086f7df564c5649a96db02499
parent136e26a87decd1ddfdcbefd7632d9f6782625221 (diff)
downloadgohugo-theme-ed-879035b1765580d5bc31c19efc343a392db3ca71.tar.gz
Fix netlify.toml build flags
-rw-r--r--netlify.toml4
1 files changed, 2 insertions, 2 deletions
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'