Compare commits

...

3 Commits

Author SHA1 Message Date
Simon Bruder 412f7b2d74
Deploy files conditionally based on checksum
By default rsync uses modification time and file size which is effectively
reduced to just file size due to using Nix. This is not enough to work
reliably e.g. on changes to a single letter or fixed-format strings.
2022-01-22 22:11:03 +01:00
Simon Bruder fdaa9e2e7d
sch001: Use reasonable publication time time 2022-01-22 22:10:54 +01:00
Simon Bruder 161176d2ff
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.
2022-01-22 22:10:54 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
title = "Wer ist Christian und was macht der Lockl hier?"
description = '''Schulischer Schabernack beginnt mit einem Gespräch mit dem Schulleiter Herrn Lockl ohne die Angst, einen Verweis zu kassieren.<br/>
Hier klären wir die Frage, wer denn überhaupt dieser Christian von Bomhard ist, was die Anfänge der Schule sind und was Herr Lockl den ganzen Tag so macht.'''
date = 2022-01-21
date = 2022-01-21T14:00:00Z
[extra]
episode = 1

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 -vacrzLP --delete --delay-updates "result-${target}/" "schabernack@yuzuru.sbruder.xyz:${directory}"