Skip to content

TestWorkflow

TestWorkflow #119

Workflow file for this run

name: TestWorkflow
run-name: "TestWorkflow"
on:
workflow_dispatch:
inputs:
branches:
description: "JSON array of branches: ['18','20'] (no spaces) or leave blank for all current branches."
required: false
type: string
env:
FROM_WF: "from workflow"
jobs:
Job1:
runs-on: ubuntu-latest
env:
FROM_JOB: "from job"
defaults:
run:
shell: bash
steps:
- name: Send Release Announcements
if: always()
uses: dawidd6/action-send-mail@v6
with:
server_address: ${{ vars.ASTERISKTEAM_SES_SMTP_HOST }}
server_port: 465
#${{ vars.ASTERISKTEAM_SES_SMTP_PORT }}
secure: true
username: ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
password: ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
subject: Test via SES
to: gjoseph@sangoma.com
from: Asterisk Development Team <asteriskteam@sangoma.com>
envelope_from: asteriskteam@sangoma.com
body: "test email"
reply_to: no-reply@sangoma.com
ignore_cert: true
convert_markdown: false
nodemailerlog: true
nodemailerdebug: true
- name: Send Release Announcements
if: always()
uses: dawidd6/action-send-mail@v6
with:
server_address: smtp.gmail.com
server_port: 465
secure: true
username: ${{secrets.ASTERISKTEAMSA_GMAIL_ACCT}}
password: ${{secrets.ASTERISKTEAMSA_GMAIL_TOKEN}}
subject: Test via GMAIL
to: gjoseph@sangoma.com
from: Asterisk Development Team <asteriskteam@sangoma.com>
envelope_from: asteriskteam@sangoma.com
body: "test email"
reply_to: no-reply@sangoma.com
ignore_cert: true
convert_markdown: false
nodemailerlog: true
nodemailerdebug: true