-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yaml
73 lines (72 loc) · 2.33 KB
/
action.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: 'Sourcetoad - AWS CodeDeploy for GitHub Actions'
description: 'Deploy projects to EC2 via CodeDeploy for GitHub Actions'
author: Sourcetoad
branding:
color: 'yellow'
icon: 'server'
inputs:
aws_access_key:
description: 'AWS Access Key (Required if no aws-actions/configure-aws-credentials)'
required: false
aws_secret_key:
description: 'AWS Secret Key (Required if no aws-actions/configure-aws-credentials)'
required: false
aws_region:
description: 'AWS Region'
required: false
default: 'us-east-1'
s3_bucket:
description: 'S3 Bucket for CodeDeploy Assets'
required: true
s3_folder:
description: 'S3 Folder for ZIP.'
required: true
directory:
description: 'Directory to be archived instead of entire workspace.'
required: false
archive:
description: 'Zip to be used for deployment, instead of archiving a directory.'
required: false
custom_zip_flags:
description: 'Custom flags to be passed to zip during archiving.'
required: false
excluded_files:
description: 'Files to be excluded during archiving (space delimited).'
required: false
codedeploy_name:
description: 'AWS CodeDeploy Application Name'
required: true
codedeploy_group:
description: 'AWS CodeDeploy Application Group'
required: true
codedeploy_config_name:
description: 'Override the AWS CodeDeploy configuration name'
required: false
codedeploy_register_only:
description: 'Whether to register the deployment (vs automatic deploy).'
required: false
default: 'false'
codedeploy_file_exists_behavior:
description: 'What to do if the file already exists in the deployment location. Possible options are DISSALOW|OVERWRITE|RETAIN'
required: false
default: 'DISALLOW'
max_polling_iterations:
description: 'Max amount of iterations (15s increments) to wait for a deployment'
required: false
default: '60'
dry_run:
description: 'Whether to skip all AWS related steps.'
required: false
default: 'false'
outputs:
zip_filename:
description: 'Filename of generated zip file.'
etag:
description: 'ETag for the generated zip file reported by AWS.'
deployment_id:
description: 'The CodeDeploy deployment id'
runs:
using: 'docker'
image: 'Dockerfile'
entrypoint: '/deploy.sh'
post-entrypoint: '/cleanup.sh'