From 46c3556909844a837e9dc7b756905324e537d6bf Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 21 Aug 2022 09:15:27 -0400 Subject: Replace Makefile with use of Haunt's built-in rsync publisher. --- Makefile | 2 -- haunt.scm | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 Makefile 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"))) -- cgit v1.2.3