about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorAlan Pearce2023-05-14 23:01:19 +0200
committerAlan Pearce2023-05-14 23:01:19 +0200
commit83b0584d636cbfab9a81c03d2455424ddb885d1f (patch)
treee9fcf5f44c24c5cb580310f67221f110bdcd1e4a /Makefile
parent8aefb7152057742ed815e3bce9ce5a6299b03683 (diff)
downloadwebsite-83b0584d636cbfab9a81c03d2455424ddb885d1f.tar.lz
website-83b0584d636cbfab9a81c03d2455424ddb885d1f.tar.zst
website-83b0584d636cbfab9a81c03d2455424ddb885d1f.zip
Add deploy command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 17c7548..bfd849e 100644
--- a/Makefile
+++ b/Makefile
@@ -52,4 +52,7 @@ public/%.asc.zst: public/%.asc
 
 compress: $(brotli_files) $(gzip_files) $(zstd_files)
 
-.PHONY: all build compress
+deploy: build compress
+	rsync --archive --delete public/ pappel.alanpearce.eu:/srv/http/alanpearce.eu
+
+.PHONY: all build compress deploy