summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-09 19:14:37 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-03-09 19:14:37 -0700
commitd2431e754359c931e9a43cc0bc2c7c5bea78b3bb (patch)
treea7f08c7452978ef8f5bc10cc0df1843edd2a250f
parent1bc86850570489c3a810c9c4192b1c56205b54ab (diff)
add curl to my git hooks
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 3807c8e..cb4ee4c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -84,6 +84,8 @@ if [ -d "$RESULT_PATH" ]; then
--verbose \
--no-progress \
"$RESULT_PATH/**/*.html"
+
+ curl -H "Priority: max" -u "${internetName}:$(grep ADMIN_PASSWORD "${secretsPath}/${ntfyFile}" | cut -d "\"" -f 2)" -d "CI checks done!" https://ntfy.ret2pop.net/ci-build
else
echo "Website build failed, skipping lychee."
exit 1