aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 2b53ece..856874f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,6 +1,11 @@
-.PHONY: publish html css
+.PHONY: publish deploy html css
-site: html css
+publish: html css
+
+deploy:
+ @[[ -e public/index.html ]] || (echo "Run make publish before deploy" && exit 1)
+ rsync --rsh="ssh -p 4511" --verbose --checksum --recursive --delete \
+ public/ ryuslash.org:ryuslash-next/
html:
@echo "Publishing..."