fix(deploy-whitby): Make diffs world-readable

Change-Id: I1610a8d189f95908bab4cd00057cc080ae47a21a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3530
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2021-09-11 04:30:12 +03:00 committed by tazjin
parent 3a80ab2ba5
commit 164fc97b4f

View file

@ -38,6 +38,7 @@ diff_filename="$(drv_hash "$current")..$(drv_hash "$new").html"
nix-diff "$current" "$new" --color always \
| ansi2html \
>| "$HTML_ROOT/diff/$diff_filename"
chmod a+r "$HTML_ROOT/diff/$diff_filename"
echo "#tvl whitby is being deployed! system diff: $URL_BASE/$diff_filename" \
| nc -w 5 -N localhost "$IRCCAT_PORT"