all repos — website @ 81f06727b23d4bff79d5c331d3257fcf1b505c61

My website

Enable Makefile tracking of deployments with .deploystamp
Alan Pearce alan@alanpearce.eu
Sat, 01 Jul 2023 09:57:26 +0200
commit

81f06727b23d4bff79d5c331d3257fcf1b505c61

parent

55f901bcc06ad8e61de62f9fc88049c1034c1bac

2 files changed, 7 insertions(+), 4 deletions(-)

jump to
M .gitignore.gitignore
@@ -1,4 +1,4 @@-/public/
-
+/public
+/.deploystamp
 .direnv
 /result
M MakefileMakefile
@@ -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