forked from Reggionick/s3-deploy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
42 lines (42 loc) · 1.3 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
name: 'S3 Deploy'
description: 'Deploy a static website to AWS S3 and invalidate CloudFront distribution'
inputs:
folder:
description: 'Directory to deploy'
required: true
bucket:
description: 'Name of AWS Bucket'
required: true
bucket-region:
description: 'The destination bucket region'
required: true
dist-id:
description: 'AWS CloudFront distribution ID'
required: false
invalidation:
description: 'AWS CloudFront invalidation path(s)'
required: false
delete-removed:
description: 'Removes files in S3 that are not available in the local copy of the directory'
required: false
no-cache:
description: 'Use this parameter to specify Cache-Control: no-cache, no-store, must-revalidate header'
required: false
private:
description: 'Upload files with private ACL, needed for S3 static website hosting'
required: false
cache:
description: 'Sets the Cache-Control: max-age=X header'
required: false
immutable:
description: 'Sets the Cache-Control header to immutable'
required: false
files-to-include:
description: 'Allows for a comma delineated Regex String that matches files to include in the deployment'
required: false
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'upload-cloud'
color: 'orange'