This commit is contained in:
Dawid Dziurla
2019-11-18 13:23:22 +01:00
parent 5e251a5fdf
commit cca8b03288
6 changed files with 113 additions and 22 deletions

View File

@ -1,12 +1,34 @@
name: 'Container Action Template'
description: 'Get started with Container actions'
author: 'GitHub'
inputs:
myInput:
description: 'Input to use'
default: 'world'
name: Send mail
description: Send mail to multiple recipients
author: dawidd6
branding:
icon: mail
color: blue
inputs:
server_address:
description: SMTP server address
required: true
server_port:
description: SMTP server port
required: true
username:
description: Authenticate as this user to SMTP server
required: true
password:
description: Authenticate with this password to SMTP server
required: true
subject:
description: Subject of mail message
required: true
body:
description: Body of mail message
required: true
to:
description: Recipients mail addresses (separated with comma)
required: true
from:
description: Full name of mail sender
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.myInput }}
using: docker
image: Dockerfile