summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 11:52:04 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 11:52:04 +0200
commitb40abdfab128f8e5b1f42261c4e8b0cf524370c4 (patch)
treedcfa5a1511d401798b159fcb5bb5a3651aae5d28
parente13eea3e68cc75edc608cc9f1d2381b6d7f13592 (diff)
downloadgohugo-theme-ed-b40abdfab128f8e5b1f42261c4e8b0cf524370c4.tar.gz
include content with publishdate in the future for preview builds
-rw-r--r--netlify.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml
index c5104bd..5e671c6 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -15,7 +15,7 @@
HUGO_ENV = 'production'
[context.deploy-preview]
- command = 'hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL'
+ command = 'hugo --gc --minify ---buildDrafts --buildFuture -b $DEPLOY_PRIME_URL'
[context.deploy-preview.environment]
HUGO_VERSION = '0.99.1'