Adding notify.run browser notifications

This commit is contained in:
ehpersonal38
2022-04-28 08:44:51 -04:00
parent a352b25941
commit a9893c519b
5 changed files with 38 additions and 0 deletions
+4
View File
@@ -21,6 +21,10 @@ if ! diff ${IDFILE} ${lastcheck} &> /dev/null;then
echo "Sending the following notification:
${NOTIFICATION}"
if [ ! -z ${NOTIFY_RUN_CHANNEL_ID} ];then
curl https://notify.run/${NOTIFY_RUN_CHANNEL_ID} -d ${NOTIFICATION}
fi
if [ ! -z ${PUSHED_APP_KEY} ];then
curl -X POST \
--form-string "app_key=${PUSHED_APP_KEY}" \