Unofficial - This action gives the ability to send emails with Mailgun.
Libur.run - Empower Your HR with Next-Gen Open Source Self-Serve Platform
Key | Required | Description |
---|---|---|
api_key | Yes | Mailgun API Key |
domain | Yes | Mailgun Domain |
from | Yes | Email sender |
to | Yes | Email receiver |
subject | No | Email subject |
body | No | Email body |
attachment | No | Currently, you are only able to attach a single attachment. You need to provide a full path location of the attachment. |
- name: Send email
uses: maful/github-actions-mailgun@main
with:
api_key: ${{ secrets.API_KEY }}
domain: ${{ secrets.DOMAIN }}
from: ${{ secrets.FROM_EMAIL }}
to: ${{ secrets.TO_EMAIL }}
subject: 'Action subject'
body: 'Action body'
attachment: ${{ github.workspace }}/github.png
- Fork and clone this repository
- Install packages
npm install
- Make necessary changes
- Run
npm run pack
to build the project - Commit your changes and create a PR
Please make sure to run npm run pack
before submitting pull requests. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The project is available as open source under the terms of the MIT License.