summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorDennis Fink2026-11-01 19:25:32 +0100
committerDennis Fink2026-11-01 19:25:32 +0100
commit6d921544b7c55c66132369feb36938b6397a332c (patch)
tree8ef037f09752906030e58075e0247dc2a283c357 /justfile
parent84fd3fd4627818c4b26c512b5448151c68434265 (diff)
downloaddennisfink.me-6d921544b7c55c66132369feb36938b6397a332c.tar.gz
dennisfink.me-6d921544b7c55c66132369feb36938b6397a332c.zip
Ensure clean builds and deployments
This makes deployment start with a clean build to prevent stale generated files from being included. It also enables rsync's `--delete` option to remove files no longer present in the build output from the server, and adds human-readable transfer sizes.
Diffstat (limited to 'justfile')
-rw-r--r--justfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index e40389a..2b161b4 100644
--- a/justfile
+++ b/justfile
@@ -9,6 +9,6 @@ clean:
build:
lektor build
-deploy: build
- rsync --archive --compress --verbose build/ draconis:/home/dennis/blog/
+deploy: clean build
+ rsync --archive --compress --human-readable --verbose --delete build/ draconis:/home/dennis/blog/
ssh -t draconis -- /home/dennis/bin/,deploy_blog