-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (40 loc) · 987 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
36
37
38
39
40
41
42
43
44
45
name: 'Email Generator Action'
description: 'Email generator action.'
branding:
icon: 'mail'
color: 'blue'
# Add a label for the icon
labels:
- name: 'icon'
description: 'The icon for the mail in the GitHub Marketplace.'
color: 'orange'
inputs:
from-email:
required: true
to-email:
required: true
subject:
required: true
body:
required: true
attachment-file-path:
required: true
sendgrid-api-key:
required: true
author:
name: 'Muhammad Jamee Ghouri'
email: '[email protected]'
website: 'https://jamee.com'
repository:
type: 'git'
url: 'https://github.com/MuhammadJamee/email_generator'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- --sendgrid-api-key=${{ inputs.sendgrid-api-key }}
- --from-email=${{ inputs.from-email }}
- --to-email=${{ inputs.to-email }}
- --subject=${{ inputs.subject }}
- --body=${{ inputs.body }}
- --attachment-file-path=${{ inputs.attachment-file-path }}