diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-09 19:22:02 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-09 19:22:02 -0700 |
| commit | f9b74bcf268c66c96c052cafe8d3ba5ef54f48f6 (patch) | |
| tree | 646d128bd75d364ce4f35b3996cb3c08bcc9dd59 /flake.nix | |
| parent | d2431e754359c931e9a43cc0bc2c7c5bea78b3bb (diff) | |
add notification in case of fail
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -88,6 +88,8 @@ if [ -d "$RESULT_PATH" ]; then 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." + + curl -H "Priority: max" -u "${internetName}:$(grep ADMIN_PASSWORD "${secretsPath}/${ntfyFile}" | cut -d "\"" -f 2)" -d "CI checks failed!" https://ntfy.ret2pop.net/ci-build exit 1 fi ''}"; |
