generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
38 lines (38 loc) · 1.26 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
name: 'Deploy Gatsby to AWS S3'
description: 'Deploy a Gatsby Project to an AWS S3 bucket (optional Cloudfront support)'
author: 'jonelantha'
inputs:
public-source-path:
description: 'Path to Gatsby /public directory'
default: './public/'
dest-s3-bucket:
description: 'Destination S3 Bucket'
required: true
dest-s3-path:
description: 'Destination S3 Path'
only-size-changed:
description: 'Boolean, sync only files where size has changed since last deploy (default: false)'
default: 'false'
sync-delete:
description: 'Boolean, delete files on S3 not present in build (default: true)'
default: 'true'
browser-cache-duration:
description: 'Browser cache duration (sec) for cache control headers'
default: '31536000'
cdn-cache-duration:
description: 'CDN cache duration (sec) for cache control headers (sec)'
default: '31536000'
cloudfront-id-to-invalidate:
description: 'Cloudfront ID to invalidate'
cloudfront-path-to-invalidate:
description: "Cloudfront Path to invalidate (optional, default: '/*')"
default: '/*'
debug:
description: 'Boolean, enable debug logging (default: false)'
default: 'false'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'upload-cloud'
color: 'orange'