added draft deploy, for getting feedback.

This commit is contained in:
Gabe Venberg 2024-08-07 12:04:55 -05:00
parent 87eec1d61b
commit 018c27f6e3
2 changed files with 6 additions and 1 deletions

View file

@ -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,

View file

@ -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