-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
30 lines (30 loc) · 1.21 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
name: 'AWS CloudFront Invalidate'
description: 'Invalidate CloudFront cache based on paths'
author: 'Richard Willis <willis.rh@gmail.com>'
branding:
icon: 'upload-cloud'
color: 'gray-dark'
inputs:
invalidate-paths:
required: false
default: ''
description: 'Comma separated list of invalidation paths. For example: root/blog.html,root/index.html'
distribution-id:
required: true
description: 'The CloudFront Distribution Id'
origin-prefix:
required: false
default: ''
description: 'The prefix of the object location in origin, which will be stripped from the invalidation paths. For example if origin-prefix is "root" and invalidationPath is "root/blog.html" then the final path will be "blog.html"'
default-root-object:
required: true
description: 'The object returned when a user requests the root URL for your distribution. If this path is invalidated then a slash (/) is added to the invalidation paths'
aws-region:
require: true
description: 'The AWS region. For example: us-east-1'
include-origin-prefix:
require: true
description: "Whether to include origin prefix paths. Useful when paths ere rewritten by Lambda's"
runs:
using: 'node16'
main: 'dist/index.js'