From 161176d2ffdd2c01f612e96ca8bd7455c4362119 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 22 Jan 2022 15:16:19 +0100 Subject: [PATCH] Ensure deployment is always in a usable state Prior to this change, index.html was deployed before all episode media files which could lead to the episode already being shown as available while the media is still being uploaded. --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 6f638f3..1912cc2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -19,4 +19,4 @@ case "$target" in esac nix build -o "result-${target}" -L ".#${nix_package}" -rsync -varzLP --delete "result-${target}/" "schabernack@yuzuru.sbruder.xyz:${directory}" +rsync -varzLP --delete --delay-updates "result-${target}/" "schabernack@yuzuru.sbruder.xyz:${directory}"