about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-11T01·30+0300
committertazjin <mail@tazj.in>2021-09-11T01·41+0000
commit164fc97b4fbb01b74aa8dea8dc168997de4fc503 (patch)
treea9f4a20131f711d988d6265c85b52586c9494f55 /ops
parent3a80ab2ba5a84fbe53c6aeee91f1ff9acc2e59ad (diff)
fix(deploy-whitby): Make diffs world-readable r/2840
Change-Id: I1610a8d189f95908bab4cd00057cc080ae47a21a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3530
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops')
-rwxr-xr-xops/deploy-whitby/deploy-whitby.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/deploy-whitby/deploy-whitby.sh b/ops/deploy-whitby/deploy-whitby.sh
index ecebb7d25d..e41ec681f1 100755
--- a/ops/deploy-whitby/deploy-whitby.sh
+++ b/ops/deploy-whitby/deploy-whitby.sh
@@ -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"