Skip to content

Commit 0c7b0c8

Browse files
authored
Include drafts in preview deploy
This mirrors the build-preview setup.
1 parent f08ea3a commit 0c7b0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ build-preview: module-check ## Build site with drafts and future posts enabled
5353
hugo --cleanDestinationDir --buildDrafts --buildFuture --environment preview
5454

5555
deploy-preview: ## Deploy preview site via netlify
56-
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
56+
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --buildDrafts --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
5757

5858
functions-build:
5959
$(NETLIFY_FUNC) build functions-src

0 commit comments

Comments
 (0)