feat: enhance deployment notifications with detailed messages and log links
All checks were successful
Deploy / deploy (push) Successful in 37s
All checks were successful
Deploy / deploy (push) Successful in 37s
This commit is contained in:
@@ -17,9 +17,12 @@ jobs:
|
|||||||
PUSHOVER_APP_TOKEN: ${{ secrets.PUSHOVER_APP_TOKEN }}
|
PUSHOVER_APP_TOKEN: ${{ secrets.PUSHOVER_APP_TOKEN }}
|
||||||
PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }}
|
PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }}
|
||||||
with:
|
with:
|
||||||
title: "Meraki Configuration Deploy"
|
title: "Meraki Config Deploy Started"
|
||||||
message: "Meraki configuration deployment started."
|
message: "Meraki configuration deployment has started."
|
||||||
sound: "pushover"
|
sound: "pushover"
|
||||||
|
url: "${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}"
|
||||||
|
url_title: 'View Logs'
|
||||||
|
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
@@ -60,6 +63,8 @@ jobs:
|
|||||||
title: "Meraki Configuration Deploy"
|
title: "Meraki Configuration Deploy"
|
||||||
message: "Meraki configuration deployed successfully!"
|
message: "Meraki configuration deployed successfully!"
|
||||||
sound: "classical"
|
sound: "classical"
|
||||||
|
url: "${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}"
|
||||||
|
url_title: 'View Logs'
|
||||||
|
|
||||||
- name: Notify Failure
|
- name: Notify Failure
|
||||||
if: failure()
|
if: failure()
|
||||||
@@ -71,3 +76,5 @@ jobs:
|
|||||||
title: "Meraki Configuration Deploy"
|
title: "Meraki Configuration Deploy"
|
||||||
message: "Meraki configuration FAILED to deploy!"
|
message: "Meraki configuration FAILED to deploy!"
|
||||||
sound: "mechanical"
|
sound: "mechanical"
|
||||||
|
url: "${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}"
|
||||||
|
url_title: 'View Logs'
|
||||||
|
|||||||
Reference in New Issue
Block a user