.github/workflows/deploy.yml aktualisiert
All checks were successful
Django Helm GitOps Deploy / build-and-test (push) Successful in 33s
Django Helm GitOps Deploy / deploy-prod (push) Successful in 52s

This commit is contained in:
bast 2026-11-12 22:56:08 +00:00
parent f39be913f6
commit 56c448a178

View file

@ -117,14 +117,3 @@ jobs:
done
exit 1
- name: Publish Map to cloudmon Dashboard (prod)
run: |
# show -json enthält sensitive Werte im Klartext -> Prod-Secrets vor dem Versand entfernen
terraform show -json | jq 'del(.. | .set_sensitive?)' > plan.json
! grep -qF "${{ secrets.PROD_POSTGRES_PASSWORD }}" plan.json || { echo "Secret im JSON gefunden, Abbruch"; exit 1; }
curl -X POST \
-H "Authorization: Bearer ${{ secrets.CLOUDMON_TOKEN }}" \
-H "Content-Type: application/json" \
-H "Host: cloudmon.local" \
--data-binary @plan.json \
"http://local-k3s-platform:80/api/v1/push/?repo=${{ github.repository }}&env=prod"