CI & automation
GitHub Actions, cron, and anything that emits webhooks.
GitHub Actions
- name: Alert on broken build
if: failure()
run: |
curl -s https://api.stdpush.com/v1/notify \
-H "Authorization: Bearer ${{ secrets.STDPUSH_KEY }}" \
-d '{"title": "Build failed on ${{ github.ref_name }}", "priority": "high"}'Cron
0 3 * * * /opt/backup.sh || stdpush -p high "Nightly backup failed"(Cron jobs don't source your shell profile, so use the installed stdpush
binary or a raw curl — not a .bashrc helper function.)
Docker healthchecks and scripts
docker events --filter event=die --format '{{.Actor.Attributes.name}}' |
while read name; do
stdpush -p high "Container died: $name"
doneAnything with a webhook
Point services that emit webhooks (Uptime Kuma, Home Assistant, n8n,
Grafana…) at POST /v1/notify with your key in the Authorization header
and a JSON body with at least a title. If it speaks HTTP, it works with
stdpush.