summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--haunt.scm6
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index ad92e9a..0000000
--- a/Makefile
+++ /dev/null
@@ -1,2 +0,0 @@
-publish:
- rsync -P -rvz --delete site/ publish@dthompson.us:/var/www/blog
diff --git a/haunt.scm b/haunt.scm
index b97ca3a..5a984e9 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -19,6 +19,7 @@
(haunt builder atom)
(haunt builder assets)
(haunt post)
+ (haunt publisher rsync)
(haunt site)
(markdown)
(projects)
@@ -88,4 +89,7 @@ this website.")
(static-directory "images")
(static-directory "videos")
(static-directory "src")
- (static-directory "manuals")))
+ (static-directory "manuals"))
+ #:publishers (list (rsync-publisher #:destination "/var/www/blog"
+ #:user "publish"
+ #:host "dthompson.us")))