Skip to content

Commit

Permalink
After a successfull release, this workflow will send us an email
Browse files Browse the repository at this point in the history
  • Loading branch information
lpetrora committed Jan 12, 2024
1 parent 6bb0fa5 commit 53ec691
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,16 @@ jobs:
asset_path: ./${{ steps.build-unsigned.outputs.plugin_checksum_path }}
asset_name: ${{ steps.build-unsigned.outputs.plugin_checksum_path }}
asset_content_type: text/plain

- uses: adelynx/[email protected]
with:
host: ${{ secrets.NOTIFICATION_SMTP_SERVER }}
port: 465
username: '${{ secrets.NOTIFICATION_SMTP_USER }}'
password: '${{ secrets.NOTIFICATION_SMTP_PASSWORD }}'
from: 'Grafana notifications <${{ secrets.NOTIFICATION_SMTP_USER }}>'
to: '${{ secrets.NOTIFICATION_DESTINATION }}'
subject: '✅ New release of Grafana data source plugin'

body: |
<p>A new release of the Grafana data source plugin has been published!</p>

0 comments on commit 53ec691

Please sign in to comment.