forked from pukonu/action-deploy-webapp-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 950 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
name: 'Deploy Static Webapp to AWS'
description: 'Deploys a static webapp to an AWS s3 bucket and then invalidates the cloudfront entry'
author: 'Techmmunity'
branding:
icon: 'arrow-up-circle'
color: 'blue'
inputs:
build_path:
description: "The build path to deploy to s3"
required: true
bucket_name:
description: "The AWS S3 bucket you will like to deploy to"
required: true
bucket_key:
description: "The path of the folder you will to deploy to within the S3 bucket"
required: false
distribution_invalidation_path:
description: "The path in cloudfront to invalidate"
required: false
default: "/*"
outputs:
aws-deploy-output:
description: 'A json output from AWS on the deployment'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.build_path }}
- ${{ inputs.bucket_name }}
- ${{ inputs.bucket_key }}
- ${{ inputs.distribution_invalidation_path }}