summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-08-21 09:15:27 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-08-21 09:15:27 -0400
commit46c3556909844a837e9dc7b756905324e537d6bf (patch)
treed7a31ec6ed758419201f99dfe937a841e8bca47e
parent8deadcb3911eb3c08c50a8ba44112b7205a2c583 (diff)
Replace Makefile with use of Haunt's built-in rsync publisher.
-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")))