Include drafts in preview deploy
This mirrors the build-preview setup.pull/50482/head
parent
f08ea3a5a8
commit
0c7b0c8a31
2
Makefile
2
Makefile
|
@ -53,7 +53,7 @@ build-preview: module-check ## Build site with drafts and future posts enabled
|
|||
hugo --cleanDestinationDir --buildDrafts --buildFuture --environment preview
|
||||
|
||||
deploy-preview: ## Deploy preview site via netlify
|
||||
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
|
||||
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --buildDrafts --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
|
||||
|
||||
functions-build:
|
||||
$(NETLIFY_FUNC) build functions-src
|
||||
|
|
Loading…
Reference in New Issue