-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
29 lines (29 loc) · 936 Bytes
/
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
name: 'Next.js CloudFront Router Action'
description: 'Update a CloudFront Distribution to route a Next.js app'
branding:
icon: 'arrow-up-circle'
color: 'blue'
inputs:
distribution-id:
description: The CloudFront distribution ID
required: false
function-name-prefix:
description: The Lambda@Edge function name prefix. Defaults to `{repositoryName}-{distributionId}-`.
required: false.
lambda-edge-role:
description: The Lambda@Edge Role
required: false
working-directory:
description: The working directory
required: false
default: '.'
invalidate:
description: Invalidate the CloudFront cache at the given path, e.g. '/*' or '/index.html'. If ommitted, the cache will not be invalidated.
required: false
wait-for-deployment:
description: Wait for CloudFront Deployment before exiting.
required: false
default: 'true'
runs:
using: 'node16'
main: 'dist/main.js'