adding error & deploy notification
Some checks failed
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 10m1s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Failing after 11s

This commit is contained in:
2025-08-23 20:44:32 -03:00
parent cd57837696
commit 06cf78a4a6
3 changed files with 77 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ jobs:
env:
KUBE_CONFIG: ${{ env.KUBE_CONFIG }}
- name: Test connection to cluster
- name: Check connection to cluster
run: |
cd haven-notify/deploy
kubectl --kubeconfig=kubeconfig.yaml cluster-info
@@ -90,3 +90,10 @@ jobs:
run: |
cd haven-notify/deploy
kubectl --kubeconfig=kubeconfig.yaml rollout restart deployment/haven-notify
- name: Send notification of deployment
run: |
curl -H "Content-Type: application/json" \
-X POST \
-d '{"title": "🚀 Haven Notify deployed!", "message": "Haven Notify has been successfully deployed and restarted."}' \
http://haven.notify/notify