ci: trigger worker deployment webhook (tenantpilot-worker) from deploy workflow
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s

This commit is contained in:
Ahmed Darrazi 2025-12-09 12:37:25 +01:00
parent b360c3311c
commit ecb606c038

View File

@ -19,3 +19,21 @@ jobs:
-H "Content-Type: application/json" \
-d '{"ref": "refs/heads/development"}' \
https://system.cloudarix.de/api/deploy/ph8pjvF1mWZUrjBDql-eE
- name: Trigger tenantpilot-worker via same deploy webhook (worker signal)
run: |
curl -X POST \
-H "X-Gitea-Event: Push Hook" \
-H "Content-Type: application/json" \
-d '{"ref": "refs/heads/development", "app": "tenantpilot-worker"}' \
https://system.cloudarix.de/api/deploy/ph8pjvF1mWZUrjBDql-eE
- name: Trigger worker-specific deploy webhook (if provided)
if: ${{ secrets.CLOUDARIX_WORKER_DEPLOY_WEBHOOK }}
env:
WEBHOOK_URL: ${{ secrets.CLOUDARIX_WORKER_DEPLOY_WEBHOOK }}
run: |
curl -X POST \
-H "X-Gitea-Event: Push Hook" \
-H "Content-Type: application/json" \
-d '{"ref": "refs/heads/development"}' "$WEBHOOK_URL"