-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (26 loc) · 819 Bytes
/
action.yml
File metadata and controls
30 lines (26 loc) · 819 Bytes
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: "Preview Deployment Action"
description: "Generate Preview deployments URLs for Pull Requests using AWS S3 and CloudFront."
author: "Barecheck"
branding:
icon: "upload-cloud"
color: "yellow"
inputs:
build-dir:
description: "Build directory with static files"
required: true
app-name:
description: "Application name that will be part of AWS resources names"
required: true
domain:
description: "Application domain name (e.g. example.com). Preview URLs will add Pull Request number as a subdomain."
required: true
subdomain:
description: "Subdomain for preview URLs (e.g. preview).By default it will be 'preview-{PR_NUMBER}'"
required: false
default: "preview"
outputs:
url:
description: "Preview deployment URL"
runs:
using: node20
main: dist/index.js