From f9a93f8084a8b500c8a235ebb2c88892e063fb13 Mon Sep 17 00:00:00 2001 From: Lucian Mogosanu Date: Tue, 2 Jul 2019 19:08:11 +0300 Subject: [PATCH] blog, config: Make deploy dest a global knob --- blog.lisp | 2 +- config.lisp.example | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/blog.lisp b/blog.lisp index 9a218b0..f813a84 100644 --- a/blog.lisp +++ b/blog.lisp @@ -296,7 +296,7 @@ "--exclude 'drafts/' --exclude drafts.html" "ssh -p 2200" *lbs-site* - "mogosanu.ro:/virtual/sites/thetarpit.org") + *lbs-rsync-dest*) :output *standard-output*)) (defun tlbs-run-site (&key kill (port 8000)) diff --git a/config.lisp.example b/config.lisp.example index 1daf509..699b71f 100644 --- a/config.lisp.example +++ b/config.lisp.example @@ -10,3 +10,6 @@ ;; Path to the directory where the static site will be spat (defvar *lbs-site* (concatenate 'string *lbs-base* "_site/")) + +;; Site deployment path, where we will run tlbs-deploy-site +(defvar *lbs-rsync-dest* "user@site.com:/ssh/path") -- 1.7.10.4