update monitor.yml from monitoring.yaml

This commit is contained in:
lab-monitor-bot 2025-06-29 23:36:29 +00:00
parent cdd4b52ab1
commit 5a37d95600

View File

@ -20,7 +20,7 @@ jobs:
STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$URL")
TIME=$(date "+%Y-%m-%d %H:%M:%S")
if [[ "$STATUS" != "$CODE" ]]; then
if [[ "$STATUS" == "$CODE" ]]; then
curl -s \
--form-string "token=${{ secrets.PUSHOVER_TOKEN }}" \
--form-string "user=${{ secrets.PUSHOVER_USER }}" \