forked from einaregilsson/beanstalk-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
47 lines (46 loc) · 1.84 KB
/
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
46
47
name: 'Beanstalk Deploy'
description: 'Deploy a zip file to AWS Elastic Beanstalk'
author: 'Einar Egilsson'
runs:
using: 'node12'
main: 'beanstalk-deploy.js'
inputs:
aws_access_key:
description: 'AWS Access Key'
required: true
aws_secret_key:
description: 'AWS Secret Key'
required: true
aws_session_token:
description: 'AWS Session Token when using temporary security credentials such as when assuming a role in AWS through STS'
required: false
region:
description: 'AWS Region'
required: true
application_name:
description: 'Beanstalk application name'
required: true
environment_name:
description: 'Beanstalk environment name. If empty a version will be created but not deployed anywhere.'
required: false
version_label:
description: 'Version label for new Beanstalk version'
required: true
version_description:
description: 'Version description for the new Beanstalk version'
required: false
deployment_package:
description: 'Zip file with the version to deploy. If skipped the action will deploy existing version.'
required: false
use_existing_version_if_available:
description: 'If set to "true" then the action will deploy an existing version with the given version_label if it already exists, but otherwise create the version and deploy it.'
required: false
wait_for_deployment:
description: 'Whether the action should wait for the deployment to finish and log status messages during the wait. Default is "true". If set to "false" the action will start the deployment on Beanstalk and then exit.'
required: false
wait_for_environment_recovery:
description: 'How many seconds to wait for the environment to return to Green state after deployment is finished. Default is 30 seconds.'
required: false
branding:
icon: 'arrow-up'
color: 'green'