summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------.pre-commit-config.yaml2
-rw-r--r--flake.nix1
2 files changed, 2 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c5a7148..efa234d 120000
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1 +1 @@
-/nix/store/zyphyg5s4sanpijx3gw1ynhaylmxg6db-pre-commit-config.json \ No newline at end of file
+/nix/store/3zlzc1hmcmwcr9kb14pqsdpg32y8384q-pre-commit-config.json \ No newline at end of file
diff --git a/flake.nix b/flake.nix
index 4041f7a..1b88f90 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,6 +30,7 @@
description = "Ensure website can build, and tests links";
stages = [ "post-merge" ];
entry = "${pkgs.writeShellScript "website-check" ''
+trap 'echo "Interrupted!"; exit 1' INT
BRANCH=$(git branch --show-current)
if [ "$BRANCH" != "main" ]; then
exit 0