updating templates
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 10m0s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 11s

This commit is contained in:
2025-08-23 22:01:01 -03:00
parent b0324ac9d8
commit 45567b2242
4 changed files with 5 additions and 15 deletions

View File

@@ -89,11 +89,4 @@ jobs:
- name: Rollout restart haven-notify - name: Rollout restart haven-notify
run: | run: |
cd haven-notify/deploy cd haven-notify/deploy
kubectl --kubeconfig=kubeconfig.yaml rollout restart deployment/haven-notify 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

View File

@@ -33,8 +33,7 @@ Template Functions Available:
], ],
"footer": { "footer": {
"text": "✨ Haven Notify ✨" "text": "✨ Haven Notify ✨"
}{{if .timestamp}}, }
"timestamp": "{{formatTime .timestamp}}"{{end}}
} }
] ]
} }

View File

@@ -30,8 +30,7 @@ Variables expected:
], ],
"footer": { "footer": {
"text": "✨ Haven Notify ✨" "text": "✨ Haven Notify ✨"
}, }
"timestamp": "{{formatTime .timestamp}}"
} }
] ]
} }

View File

@@ -17,14 +17,13 @@ Template Functions Available:
"fields": [ "fields": [
{ {
"name": "⏱️ Time Taken", "name": "⏱️ Time Taken",
"value": "{{if .time}}{{formatTime .time}}{{else}}Unknown{{end}} seconds", "value": "{{if .time}}{{.time}}{{else}}Unknown{{end}} seconds",
"inline": true "inline": true
} }
], ],
"footer": { "footer": {
"text": "✨ Haven Notify ✨" "text": "✨ Haven Notify ✨"
}, }
"timestamp": "{{formatTime .timestamp}}"
} }
] ]
} }