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.
This commit is contained in:
Simon Bruder 2022-01-22 15:16:19 +01:00
parent 5052394ae4
commit 161176d2ff
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

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