Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thearaks committed Mar 27, 2024
1 parent b339cc4 commit 4458891
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/on_action_update_send_test_email.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ on:
push:
paths:
- '.github/workflows/on_action_update_send_test_email.yml'
env:
AWS_ACCESS_KEY_ID: '${{ secrets.AWS_ACCESS_KEY_ID }}'
AWS_SECRET_ACCESS_KEY: '${{ secrets.AWS_SECRET_ACCESS_KEY }}'
AWS_DEFAULT_REGION: 'eu-west-1'

jobs:
send_email:
runs-on: ubuntu-latest
steps:
- name: Send email using AWS SES
uses: CodeAtlas/[email protected]
- uses: dawidd6/action-send-mail@v3
with:
to: '${{ vars.TEST_EMAIL_RECIPIENTS }}'
from: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_TO }}'
reply_to: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_REPLY_TO }}'
subject: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_SUBJECT }}'
body_html: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_BODY }}'
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.TEST_EMAIL_RECIPIENTS }}
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
23 changes: 12 additions & 11 deletions .github/workflows/on_release_send_email.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ on:
push:
paths:
- 'AndroidSDK/CHANGELOG_ANDROID_SDK.md'
env:
AWS_ACCESS_KEY_ID: '${{ secrets.AWS_ACCESS_KEY_ID }}'
AWS_SECRET_ACCESS_KEY: '${{ secrets.AWS_SECRET_ACCESS_KEY }}'
AWS_DEFAULT_REGION: 'eu-west-1'

jobs:
send_email:
runs-on: ubuntu-latest
steps:
- name: Send email using AWS SES
uses: CodeAtlas/[email protected]
- uses: dawidd6/action-send-mail@v3
with:
to: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_TO }}'
from: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_TO }}'
reply_to: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_REPLY_TO }}'
subject: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_SUBJECT }}'
body_html: '${{ vars.NEW_ANDROID_RELEASE_EMAIL_BODY }}'
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

0 comments on commit 4458891

Please sign in to comment.