Enable Makefile tracking of deployments with .deploystamp
Alan Pearce alan@alanpearce.eu
Sat, 01 Jul 2023 09:57:26 +0200
2 files changed, 7 insertions(+), 4 deletions(-)
jump to
M Makefile → 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