Skip to content

Commit 8774915

Browse files
committed
More testing for asteriskteamsa account
1 parent 183f4dc commit 8774915

File tree

1 file changed

+40
-3
lines changed

1 file changed

+40
-3
lines changed

.github/workflows/TestWorkflow.yml

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,58 @@ jobs:
2020
run:
2121
shell: bash
2222
steps:
23-
- name: Send email
23+
- name: Send email via MS
24+
if: always()
2425
uses: devellany/[email protected]
2526
with:
2627
host: smtp-mail.outlook.com
2728
# Optional port (defaults to 465)
2829
port: 587
2930
account: ${{ secrets.ASTERISKTEAMSA_USERNAME }}
3031
password: ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
31-
sender: Asterisk Team
32+
sender: Asterisk Development Team
3233
3334
3435
subject: mail title.
3536
body: your messages.
3637
# Optional content type (defaults to text/plain)
3738
contentType: text/plain
3839
# Optional attachment files (JSON type. require property 'path')
39-
attachments: '[{"path":"README.md"}]'
40+
attachments: '[{"path":"LICENSE"}]'
41+
42+
- name: Send email via GMAIL
43+
if: always()
44+
uses: devellany/[email protected]
45+
with:
46+
host: smtp.gmail.com
47+
# Optional port (defaults to 465)
48+
port: 465
49+
account: ${{ secrets.ASTERISKTEAMSA_USERNAME }}
50+
password: ${{ secrets.ASTERISKTEAMSA_TOKEN }}
51+
sender: Asterisk Development Team
52+
53+
54+
subject: test via gmail.
55+
body: your messages.
56+
# Optional content type (defaults to text/plain)
57+
contentType: text/plain
58+
# Optional attachment files (JSON type. require property 'path')
59+
attachments: '[{"path":"LICENSE"}]'
60+
61+
- name: Send Release Announcements
62+
if: always()
63+
uses: dawidd6/action-send-mail@v4
64+
with:
65+
server_address: smtp.gmail.com
66+
server_port: 465
67+
secure: true
68+
username: ${{ secrets.ASTERISKTEAMSA_USERNAME }}
69+
password: ${{ secrets.ASTERISKTEAMSA_TOKEN }}
70+
subject: Test via gmail
71+
72+
from: Asterisk Development Team <[email protected]>
73+
body: "test email"
74+
75+
ignore_cert: true
76+
convert_markdown: false
4077

0 commit comments

Comments
 (0)