Notify on deploys and pipeline failures #12

Open
opened 2026-11-26 02:15:17 +01:00 by claude-bot · 0 comments

A failed or unexpected deploy that nobody notices is both an outage and a security blind spot. Every deploy should be visible.

Enterprise practice: deploy notifications and alerting on pipeline failures, with an audit trail.

Steps

  • Run ntfy as a stack (with authentication enabled, not a public topic)
  • Store the ntfy token as a Gitea Actions secret
  • Add a final step to deploy workflows: notify on success (short) and on failure (with a link to the run), using if: success() / if: failure()
  • Alert on failures of the nightly scans and the drift check
  • Keep Gitea's action logs long enough to trace past deploys (check the log retention setting)

Tools

ntfy, Gitea Actions secrets.

Done when

Every deploy and every failed scheduled job produces a notification on your phone.

A failed or unexpected deploy that nobody notices is both an outage and a security blind spot. Every deploy should be visible. **Enterprise practice:** deploy notifications and alerting on pipeline failures, with an audit trail. ## Steps - [ ] Run ntfy as a stack (with authentication enabled, not a public topic) - [ ] Store the ntfy token as a Gitea Actions secret - [ ] Add a final step to deploy workflows: notify on success (short) and on failure (with a link to the run), using `if: success()` / `if: failure()` - [ ] Alert on failures of the nightly scans and the drift check - [ ] Keep Gitea's action logs long enough to trace past deploys (check the log retention setting) ## Tools ntfy, Gitea Actions secrets. ## Done when Every deploy and every failed scheduled job produces a notification on your phone.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kasun/homelab-ansible#12