Skip to content

Commit 0d22a1c

Browse files
authored
Merge pull request #41142 from tengqm/serial-build
Use single CPU for building site preview
2 parents 5fe3163 + 68a4556 commit 0d22a1c

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
@@ -40,7 +40,7 @@ build-preview: module-check ## Build site with drafts and future posts enabled
4040
hugo --cleanDestinationDir --buildDrafts --buildFuture --environment preview
4141

4242
deploy-preview: ## Deploy preview site via netlify
43-
hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
43+
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
4444

4545
functions-build:
4646
$(NETLIFY_FUNC) build functions-src

0 commit comments

Comments
 (0)