about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--Makefile7
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