about summary refs log tree commit diff
path: root/ops/deploy-whitby
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-11T01·27+0300
committertazjin <mail@tazj.in>2021-09-11T01·41+0000
commit3a80ab2ba5a84fbe53c6aeee91f1ff9acc2e59ad (patch)
treee4193fb2501d8d9ac4e232278b0c57056cee072b /ops/deploy-whitby
parent9c038cbff09b600d6b3be32c6c9b1a4cd6779ec2 (diff)
fix(deploy-whitby): Add .html suffix to diff filenames r/2839
This makes nginx' content-type recognition work correctly.

Change-Id: I990b00f1e0f4ef311f53a8885718fa33d249c886
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3529
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops/deploy-whitby')
-rwxr-xr-xops/deploy-whitby/deploy-whitby.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/deploy-whitby/deploy-whitby.sh b/ops/deploy-whitby/deploy-whitby.sh
index 808f65cda2cf..ecebb7d25db9 100755
--- a/ops/deploy-whitby/deploy-whitby.sh
+++ b/ops/deploy-whitby/deploy-whitby.sh
@@ -34,7 +34,7 @@ git -C "$worktree_dir" checkout "$new_rev"
 current=$(nix show-derivation /run/current-system | jq -r 'keys | .[0]')
 new=$(nix-instantiate -A ops.nixos.whitbySystem "$worktree_dir")
 
-diff_filename="$(drv_hash "$current")..$(drv_hash "$new")"
+diff_filename="$(drv_hash "$current")..$(drv_hash "$new").html"
 nix-diff "$current" "$new" --color always \
     | ansi2html \
     >| "$HTML_ROOT/diff/$diff_filename"