gotify
This commit is contained in:
@@ -221,7 +221,8 @@ jobs:
|
||||
- name: 🔔 Gotify Notification (Success)
|
||||
if: success()
|
||||
run: |
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message" \
|
||||
-H "X-Gotify-Key: ${{ secrets.GOTIFY_TOKEN }}" \
|
||||
-F "title=✅ Deployment Success: ${{ github.repository }}" \
|
||||
-F "message=The deployment of ${{ github.repository }} (branch: ${{ github.ref }}) was successful.
|
||||
|
||||
@@ -233,7 +234,8 @@ jobs:
|
||||
- name: 🔔 Gotify Notification (Failure)
|
||||
if: failure()
|
||||
run: |
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message" \
|
||||
-H "X-Gotify-Key: ${{ secrets.GOTIFY_TOKEN }}" \
|
||||
-F "title=❌ Deployment Failed: ${{ github.repository }}" \
|
||||
-F "message=The deployment of ${{ github.repository }} (branch: ${{ github.ref }}) failed!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user