There was an error while loading. Please reload this page.
2 parents 9ba55ec + d738bc9 commit b0889dbCopy full SHA for b0889db
1 file changed
.github/workflows/test_send_email.yml
@@ -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