2
0
Fork 0

sh.zio.backup: add markdown formatting

main
Ducky 2024-03-30 17:04:00 +00:00
parent a7286387d8
commit 4e52bed1f7
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ function invoke_restic() {
say warning "Command failed."
/usr/local/bin/sh.zio.notify \
--title "Backup failed" \
--message "$restic_out" \
--message "```$restic_out```" \
--level "warning"
break
#echo "---- THE OUTPUT: $restic_out"

View File

@ -54,7 +54,7 @@ function main() {
"topic": "'$n_topic'"
}'
curl -d "$body" -H "Authorization: Bearer $token" -H "Cache: no" "https://ntfy.zio.sh/"
curl -d "$body" -H "Authorization: Bearer $token" -H "Cache: no" -H "Markdown: yes" "https://ntfy.zio.sh/"
}
if [[ $_PLUG_INVOKED != "true" ]]; then