diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d05a6f..6f969f0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -56,3 +56,16 @@ jobs: curl --fail --connect-timeout 5 -H "Host: boday-it.ch" http://docker.internal || curl --fail --connect-timeout 5 -H "Host: boday-it.ch" http://172.17.0 || exit 1 echo "Erfolg: Die Boday-IT Django-Webseite läuft perfekt via Helm im GitOps-Standard!" + - name: Publish Map to cloudmon Dashboard + run: | + # 1. Terraform generiert das standardisierte, anonyme JSON-Abbild + terraform show -json > plan.json + + # 2. Wir schiessen das Paket direkt per API an dein cloudmon-Dashboard! + curl -X POST \ + -H "Authorization: Bearer boday-cloudmon-super-token-2026" \ + -H "Content-Type: application/json" \ + --data-binary @plan.json \ + "http://cluster.local{{ github.repository }}" + +