aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac7962d..81249f5 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@ include prelude.mk
LIVE_RELOAD ?= 1
$(eval $(call noexpand,LIVE_RELOAD))
+# Resolve symlinks to actual files: https://github.com/jekyll/jekyll/pull/4640
+export JEKYLL_ENV := production
+
.PHONY: all
all: serve
@@ -70,4 +73,4 @@ $(eval $(call noexpand,REMOTE_DIR))
.PHONY: deploy
deploy:
- rsync -avh -e 'ssh -p $(call escape,$(REMOTE_PORT)) -o StrictHostKeyChecking=no' _site/ '$(call escape,$(REMOTE_USER)@$(REMOTE_HOST):$(REMOTE_DIR)/)' --delete
+ rsync -avh -e 'ssh -p $(call escape,$(REMOTE_PORT)) -o StrictHostKeyChecking=no' build/ '$(call escape,$(REMOTE_USER)@$(REMOTE_HOST):$(REMOTE_DIR)/)' --delete