Skip to content

Commit b0889db

Browse files
authored
Merge pull request #76 from NOAA-EDAB/dev
build(yml): needed a way to quickly test email send functionality
2 parents 9ba55ec + d738bc9 commit b0889db

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: send email test
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
sending-email:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
12+
- name: Send email
13+
uses: dawidd6/action-send-mail@v17
14+
15+
with:
16+
server_address: smtp.gmail.com
17+
server_port: 465
18+
19+
username: ${{ secrets.MAIL_USERNAME }}
20+
password: ${{ secrets.MAIL_PASSWORD }}
21+
22+
subject: Github Actions job result
23+
to: andrew.beet@noaa.gov
24+
25+
from: 'Luke Skywalker <user@example.com>'
26+
envelope_from: ${{ secrets.MAIL_USERNAME }}
27+
28+
body: ${{ github.repository }} updated data!

0 commit comments

Comments
 (0)