Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,24 @@ 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
hugo --minify

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
Expand Down
3 changes: 0 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"