Sending Email from GitHub Actions

View on Marketplace ยท View Source

Here is an example showing how to start sending email notifications from a GitHub Actions Workflow:


jobs:
  First-Step:
    runs-on: ubuntu-latest
    steps:
      - run: echo "Starting GitHub Actions Job"
      - uses: cinotify/github-action@main
        with:
          to: 'example@example.com'
          subject: 'building main'
          body: 'This is a notification from GitHub actions.'

There is also the starter template which can be used as a starting point for setting up a GitHub Actions Workflow with email notifications.