From 28571b02431205838e105f285a81fdbecf6d6653 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 10 Feb 2026 13:40:49 -0600 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b44fa0e..c678c89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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