aboutsummaryrefslogtreecommitdiff
path: root/site/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-10-04 13:01:41 +0000
committerOmar Polo <op@omarpolo.com>2021-10-04 13:01:41 +0000
commitb4c6cd976806864f433211d265065abafbd49316 (patch)
tree11ad74e2c9d1360149aa0e51af7ded5cac4bce16 /site/Makefile
parent9212cf1ba9487a66662df76b95591187dface70f (diff)
add the upload target to ease publishing the site
Diffstat (limited to 'site/Makefile')
-rw-r--r--site/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/site/Makefile b/site/Makefile
index 8d3abbc..e3de066 100644
--- a/site/Makefile
+++ b/site/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all serve-www serve-gemini
+.PHONY: all serve-www serve-gemini upload
all: gmid.1.html gmid.1.txt
@@ -13,3 +13,7 @@ serve-www:
serve-gemini:
gmid -p 1966 .
+
+upload:
+ rsync --delete -a . op:sites/gmid.omarpolo.com
+ rsync --delete -a . op:gemini/gmid.omarpolo.com