diff options
author | tdback <tyler@tdback.net> | 2025-03-04 22:52:04 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-03-04 22:52:04 -0500 |
commit | dcdb3d4e8229521a6af835639a7ef8306e7534ca (patch) | |
tree | 7d025e65dd0497e647677d448f8782bd83ab3732 | |
parent | 9e103b1816c4dcac307dd7b097abc8a936af57f3 (diff) |
use org babel to build and deploy the site
-rw-r--r-- | README.org | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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: |