From 26525fcc434049841b1c4bfb6e950ae22d8077d1 Mon Sep 17 00:00:00 2001 From: ktyl Date: Sat, 8 Jun 2024 16:31:51 +0100 Subject: [PATCH] chore: remove redundant deploy rule --- makefile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/makefile b/makefile index 2c91c59..f5f74d8 100644 --- a/makefile +++ b/makefile @@ -1,9 +1,3 @@ -SITE_NAME = ktyl.dev -# configured in ~/.ssh/config -HOST = pluto -# a script on the remote server to move it on arrival -REMOTE_SCRIPT = ./deploy-$(SITE_NAME) - SRC_DIR = src IMG_DIR = img OUT_DIR = site @@ -38,12 +32,6 @@ html: $(HTML_TARGETS) $(CSS_TARGETS) | $(OUT_DIR) cp $(IMG_DIR)/*.png $(OUT_DIR)/ cp $(IMG_DIR)/*.jpg $(OUT_DIR)/ -deploy: - cp -r $(OUT_DIR) $(SITE_NAME) - rsync -rP $(SITE_NAME) $(HOST):~ - rm -r $(SITE_NAME) - ssh $(HOST) "sudo $(REMOTE_SCRIPT)" - $(OUT_DIR)/%.html: $(ROOT_DIR)/%.html $(HTML_INCLUDES) $(BLOG_INDEX) | $(OUT_DIR) python ppp.py $< $(HTML_INCLUDES) $(BLOG_INDEX) > $@