include content with publishdate in the future for preview builds

This commit is contained in:
Serghei Iakovlev 2022-05-28 11:52:04 +02:00
parent e13eea3e68
commit b40abdfab1
No known key found for this signature in database
GPG key ID: C6AF1016BBDEA800

View file

@ -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'