Send email via AWS SES to customers on Android changelog update #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Send email via AWS SES to customers on Android changelog update | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'AndroidSDK/CHANGELOG_ANDROID_SDK.md' | |
jobs: | |
send_email: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dawidd6/action-send-mail@v3 | |
with: | |
server_address: email-smtp.eu-west-1.amazonaws.com | |
server_port: 465 | |
secure: true | |
username: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
to: ${{ vars.NEW_ANDROID_RELEASE_EMAIL_TO }} | |
from: ${{ vars.NEW_ANDROID_RELEASE_EMAIL_FROM }} | |
reply_to: ${{ vars.NEW_ANDROID_RELEASE_EMAIL_REPLY_TO }} | |
subject: ${{ vars.NEW_ANDROID_RELEASE_EMAIL_SUBJECT }} | |
html_body: ${{ vars.NEW_ANDROID_RELEASE_EMAIL_BODY }} | |
priority: low |