mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-09-08 22:04:06 +07:00
init
This commit is contained in:
20
README.md
20
README.md
@ -1,5 +1,19 @@
|
||||
# Container Action Template
|
||||
# Send mail Github Action
|
||||
|
||||
To get started, click the `Use this template` button on this repository [which will create a new repository based on this template](https://github.blog/2019-06-06-generate-new-repositories-with-repository-templates/).
|
||||
An action that simply sends a mail to multiple recipients.
|
||||
|
||||
For info on how to build your first Container action, see the [toolkit docs folder](https://github.com/actions/toolkit/blob/master/docs/container-action.md).
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
- name: Send mail
|
||||
uses: dawidd6/action-send-mail@master
|
||||
with:
|
||||
server_address: smtp.gmail.com
|
||||
server_port: 465
|
||||
username: ${{secrets.MAIL_USERNAME}}
|
||||
password: ${{secrets.MAIL_PASSWORD}}
|
||||
subject: Github Actions job result
|
||||
body: Build job of ${{github.repository}} completed successfully!
|
||||
to: obiwan@tatooine.com,yoda@dagobah.com
|
||||
from: Luke Skywalker
|
||||
```
|
||||
|
Reference in New Issue
Block a user