From 018c27f6e3a57d898257fafd95a0dd580bdffdaa Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Wed, 7 Aug 2024 12:04:55 -0500 Subject: [PATCH] added draft deploy, for getting feedback. --- content/posts/moving-away-from-nextcloud.md | 2 +- justfile | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/content/posts/moving-away-from-nextcloud.md b/content/posts/moving-away-from-nextcloud.md index 6052581..7aa2d8b 100644 --- a/content/posts/moving-away-from-nextcloud.md +++ b/content/posts/moving-away-from-nextcloud.md @@ -79,7 +79,7 @@ This was almost a more important function than filesyncing, as my wife and I use Keep shopping lists, chore lists, lists of movies to watch, lists of long term projects, etc. (we *really* used the hell out of todo lists.) -For this, we used [Radicale](TODO). Radicale *only* does CalDav and CardDav syncing, nothing else, +For this, we used [Radicale](https://radicale.org/v3.html). Radicale *only* does CalDav and CardDav syncing, nothing else, but between Syncthing and FileManager, thats all we needed it to do to complete the nextcloud replacement. Installation was incredibly simple, thanks to the existence of a prebuilt NixOs module for it. After about an hour of research and work, I had a Radicale server up and running on my Hetzner node, diff --git a/justfile b/justfile index 999dd8a..c1f9960 100644 --- a/justfile +++ b/justfile @@ -4,7 +4,12 @@ preview: USER:='root' HOST:='gabevenberg.com' DIR:='/var/www/gabevenberg.com' +DRAFTDIR:='/var/www/draft.gabevenberg.com' deploy: hugo --minify rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DIR}} # this will delete everything on the server that's not in the local public folder + +deploy-preview: + hugo --minify --buildDrafts --buildFuture + rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DRAFTDIR}} # this will delete everything on the server that's not in the local public folder