Skip to content

Commit

Permalink
Merge pull request #41142 from tengqm/serial-build
Browse files Browse the repository at this point in the history
Use single CPU for building site preview
  • Loading branch information
k8s-ci-robot authored May 15, 2023
2 parents 5fe3163 + 68a4556 commit 0d22a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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
hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)

functions-build:
$(NETLIFY_FUNC) build functions-src
Expand Down

0 comments on commit 0d22a1c

Please sign in to comment.