feat: add notifications for deployment success and failure
Some checks failed
Deploy / deploy (push) Failing after 42s
Some checks failed
Deploy / deploy (push) Failing after 42s
This commit is contained in:
@@ -37,3 +37,25 @@ jobs:
|
|||||||
|
|
||||||
- name: Minimize uv cache
|
- name: Minimize uv cache
|
||||||
run: uv cache prune --ci
|
run: uv cache prune --ci
|
||||||
|
|
||||||
|
- name: Notify Success
|
||||||
|
if: success()
|
||||||
|
uses: https://git.tainton.uk/actions/pushover-action@v1.1.4
|
||||||
|
env:
|
||||||
|
PUSHOVER_APP_TOKEN: ${{ secrets.PUSHOVER_APP_TOKEN }}
|
||||||
|
PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }}
|
||||||
|
with:
|
||||||
|
title: "Meraki Configuration Deploy"
|
||||||
|
message: "Meraki configuration deployed successfully!"
|
||||||
|
sound: "classical"
|
||||||
|
|
||||||
|
- name: Notify Failure
|
||||||
|
if: failure()
|
||||||
|
uses: https://git.tainton.uk/actions/pushover-action@v1.1.4
|
||||||
|
env:
|
||||||
|
PUSHOVER_APP_TOKEN: ${{ secrets.PUSHOVER_APP_TOKEN }}
|
||||||
|
PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }}
|
||||||
|
with:
|
||||||
|
title: "Meraki Configuration Deploy"
|
||||||
|
message: "Meraki configuration FAILED to deploy!"
|
||||||
|
sound: "mechanical"
|
||||||
|
|||||||
Reference in New Issue
Block a user