diff --git a/Makefile b/Makefile index 8b4daf25af7..f31a6c729f5 100644 --- a/Makefile +++ b/Makefile @@ -49,11 +49,11 @@ check-headers-file: scripts/check-headers-file.sh production-build: module-check ## Build the production site and ensure that noindex headers aren't added - hugo --cleanDestinationDir --minify --environment production + GOMAXPROCS=1 hugo --cleanDestinationDir --minify --environment production HUGO_ENV=production $(MAKE) check-headers-file non-production-build: module-check ## Build the non-production site, which adds noindex headers to prevent indexing - hugo --cleanDestinationDir --enableGitInfo --environment nonprod + GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --environment nonprod serve: module-check ## Boot the development server. hugo server --buildFuture --environment development