aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 22:23:54 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 22:24:45 +0200
commitbe5e0048913797f2ef91065908730da025113c34 (patch)
treedd16e4908bb93953dbc823d7624f76c363a00bf4 /Makefile
parentbump dependencies (diff)
downloadblog-be5e0048913797f2ef91065908730da025113c34.tar.gz
blog-be5e0048913797f2ef91065908730da025113c34.zip
move Jekyll source files to src/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a833820..83b4bd6 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