Add webhook notification step to release workflow

After publishing a GitHub Release, notify towerops.net to trigger
mass agent updates via the new webhook endpoint.
This commit is contained in:
Graham McIntire 2026-02-10 13:40:49 -06:00
parent 9db47e22d1
commit 28571b0243
No known key found for this signature in database

View file

@ -317,3 +317,11 @@ jobs:
towerops-agent-linux-amd64.sha256
towerops-agent-linux-arm64
towerops-agent-linux-arm64.sha256
- name: Notify agents of new release
if: success()
run: |
curl -sf -X POST \
-H "Authorization: Bearer ${{ secrets.AGENT_WEBHOOK_SECRET }}" \
https://towerops.net/api/v1/webhooks/agent-release
continue-on-error: true