Skip to content

Commit 9881eb3

Browse files
authored
Merge pull request #50482 from rytswd/main
Include drafts in preview deploy
2 parents 7d8cba0 + 0c7b0c8 commit 9881eb3

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)