From 81f06727b23d4bff79d5c331d3257fcf1b505c61 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 1 Jul 2023 09:57:26 +0200 Subject: Enable Makefile tracking of deployments with .deploystamp --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9dca674..2b83f82 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,10 @@ compress: $(brotli_files) $(gzip_files) $(zstd_files) install: compress -deploy: build format compress - rsync --archive --delete public/ pappel.alanpearce.eu:/srv/http/alanpearce.eu +deploy: .deploystamp + +.deploystamp: build format compress + fly deploy + touch .deploystamp .PHONY: all clean build format compress install deploy -- cgit 1.4.1