From dcdb3d4e8229521a6af835639a7ef8306e7534ca Mon Sep 17 00:00:00 2001 From: tdback Date: Tue, 4 Mar 2025 22:52:04 -0500 Subject: use org babel to build and deploy the site --- README.org | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index ddfcc8f..01f4856 100644 --- a/README.org +++ b/README.org @@ -1,8 +1,16 @@ * tdback.net Source code for my personal website/blog. -To build and deploy to my web server: -#+begin_src shell +Build the site: +#+begin_src shell :results output nix build ".?submodules=1#" -L - rsync -avz --delete result/ thor:/var/www/tdback.net/ #+end_src + +#+RESULTS: + +Deploy to my web server: +#+begin_src shell :results output + rsync -qavz --delete result/ thor:/var/www/tdback.net/ +#+end_src + +#+RESULTS: -- cgit v1.2.3