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 --- .gitignore | 4 ++-- Makefile | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c510874..81ff1e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/public/ - +/public +/.deploystamp .direnv /result 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