Ignore error in mail service
ci / test (push) Successful in 48s Details
ci / deploy (push) Successful in 1m34s Details

This commit is contained in:
Ciapa 2024-04-12 00:18:04 +02:00
parent 73b0e2043e
commit e008ca453a
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
let
sendEmailEvent = { event }: ''
printf "Subject: phoenix ${event} ''$(${pkgs.coreutils}/bin/date --iso-8601=seconds)\n\nzpool status:\n\n''$(${pkgs.zfs}/bin/zpool status)" | ${pkgs.msmtp}/bin/msmtp -a default ciapa@lewd.wtf
printf "Subject: phoenix ${event} ''$(${pkgs.coreutils}/bin/date --iso-8601=seconds)\n\nzpool status:\n\n''$(${pkgs.zfs}/bin/zpool status)" | ${pkgs.msmtp}/bin/msmtp -a default ciapa@lewd.wtf || true
'';
in
{