-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
35 lines (34 loc) · 888 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: "Send Email With SendGrid"
author: "meysam@licenseware.io"
description: "Using python library, send an email to SendGrid API"
branding:
icon: "info"
color: "green"
inputs:
from-email:
required: true
to-email:
required: true
api-key:
required: true
subject:
required: true
markdown-body:
required: true
attachments:
required: false
description: "Space separated list of attachments"
attachments-disposition:
required: false
description: "inline or attachment"
runs:
using: "docker"
image: "Dockerfile"
args:
- --api-key=${{ inputs.api-key }}
- --from=${{ inputs.from-email }}
- --to=${{ inputs.to-email }}
- --subject=${{ inputs.subject }}
- --attachments=${{ inputs.attachments }}
- --attachments-disposition=${{ inputs.attachments-disposition }}
- --markdown-body=${{ inputs.markdown-body }}