aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 22:22:01 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 22:24:33 +0200
commitc0923664214655a439d0d9df41a52b8936d3b43d (patch)
treea6fb587447f522fed09733f1556d1fc2a3c564ff /Makefile
parentbump dependencies (diff)
downloadsorting-algorithms-c0923664214655a439d0d9df41a52b8936d3b43d.tar.gz
sorting-algorithms-c0923664214655a439d0d9df41a52b8936d3b43d.zip
move Jekyll source files to src/
Diffstat (limited to '')
-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