Skip to content

Commit d0f6088

Browse files
committed
After a successfull release, this workflow will send us an email
1 parent 95148a4 commit d0f6088

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,16 @@ jobs:
6565
asset_path: ./${{ steps.build-unsigned.outputs.plugin_checksum_path }}
6666
asset_name: ${{ steps.build-unsigned.outputs.plugin_checksum_path }}
6767
asset_content_type: text/plain
68+
69+
- uses: adelynx/[email protected]
70+
with:
71+
host: ${{ secrets.NOTIFICATION_SMTP_SERVER }}
72+
port: 465
73+
username: '${{ secrets.NOTIFICATION_SMTP_USER }}'
74+
password: '${{ secrets.NOTIFICATION_SMTP_PASSWORD }}'
75+
from: 'Grafana notifications <${{ secrets.NOTIFICATION_SMTP_USER }}>'
76+
to: '${{ secrets.NOTIFICATION_DESTINATION }}'
77+
subject: '✅ New release of Grafana data source plugin'
78+
79+
body: |
80+
<p>A new release of the Grafana data source plugin has been published!</p>

0 commit comments

Comments
 (0)