From 176dad9ee41b356c5748e0b02dc11901589cd03a Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 16 Oct 2024 15:38:43 +0200 Subject: add deploy target to makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makefile b/makefile index be7ca88..4e35436 100644 --- a/makefile +++ b/makefile @@ -32,4 +32,7 @@ watch: serve: @ caddy file-server -r . -l :1414 +deploy: run + @ rsync -vhhh --delete -Ccrz ./ $(DEPLOY_HOST):$(DEPLOY_DIR)/ + .PHONY: all clean serve watch -- cgit 1.4.1