mirror of https://github.com/grpc/grpc.io.git
Build tweaks now that we're using hugo.IsProduction (#679)
This commit is contained in:
parent
cf3c3709fb
commit
ce5bfbf4de
9
Makefile
9
Makefile
|
@ -9,15 +9,15 @@ clean:
|
|||
|
||||
serve:
|
||||
@./check_hugo.sh
|
||||
hugo server
|
||||
hugo serve
|
||||
|
||||
serve-drafts:
|
||||
@./check_hugo.sh
|
||||
hugo server $(DRAFT_ARGS)
|
||||
hugo serve $(DRAFT_ARGS)
|
||||
|
||||
serve-production: clean
|
||||
@./check_hugo.sh
|
||||
hugo server --minify
|
||||
hugo serve -e production --minify
|
||||
|
||||
production-build: clean
|
||||
@./check_hugo.sh
|
||||
|
@ -25,7 +25,8 @@ production-build: clean
|
|||
|
||||
preview-build: clean
|
||||
@./check_hugo.sh
|
||||
hugo --baseURL $(DEPLOY_PRIME_URL) $(BUILD_ARGS)
|
||||
hugo --baseURL $(DEPLOY_PRIME_URL) \
|
||||
-e development $(BUILD_ARGS)
|
||||
|
||||
link-checker-setup:
|
||||
curl https://raw.githubusercontent.com/wjdp/htmltest/master/godownloader.sh | bash
|
||||
|
|
|
@ -10,6 +10,3 @@ command = "git submodule update --init --recursive --depth 1 && make preview-bui
|
|||
|
||||
[context.deploy-preview]
|
||||
command = "git submodule update --init --recursive --depth 1 && make preview-build"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_ENV = "production"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b65e281e957659f64b1c38f92a51d9b99a2eb0a7
|
||||
Subproject commit a342c5baea1f1a00832016555337bf8481df015f
|
Loading…
Reference in New Issue