-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
39 lines (39 loc) · 1.43 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
name: 'AWS Static Web App Update Action'
author: 'Kazi Manzur Rashid <[email protected]>'
branding:
color: 'orange'
icon: 'upload'
description: 'Upload the contents of the specified directory into S3 bucket and optionally invalidates cloudfront distribution.'
inputs:
location:
required: true
description: 'The location of the directory which contents would be uploaded'
bucket:
required: true
description: 'The name of the S3 bucket where the content would be uploaded'
cache-control:
required: false
description: 'HTTP cache-control mapping.'
invalidate:
required: false
default: 'false'
description: 'boolean or the cloudfront distribution id, if true then it would use the bucket name to find the associated distribution'
wait:
required: false
default: 'true'
description: 'boolean, if true then it would wait for the invalidation to complete, default is true'
AWS_REGION:
description: 'Optional if not specified fallbacks to environment variable'
required: false
AWS_ACCESS_KEY_ID:
description: 'Optional if not specified fallbacks to environment variable'
required: false
AWS_SECRET_ACCESS_KEY:
description: 'Optional if not specified fallbacks to environment variable'
required: false
AWS_SESSION_TOKEN:
description: 'Optional if not specified fallbacks to environment variable'
required: false
runs:
using: 'node20'
main: 'dist/index.js'