-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
59 lines (58 loc) · 1.91 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: "Ghost Static Website Generator"
description: "Generate static HTML files for custom ghost hosting and publish them on AWS S3 as static website"
branding:
icon: code
color: orange
inputs:
ghost_hosted_url:
description: "Ghost hosted URL endpoint"
required: true
ghost_static_host_url:
description: "URL endpoint where static files needs to be hosted"
required: true
custom_replace_keys:
description: "Comma separated list of items that needs to be replaced from the items in custom_replace_values at the same index"
required: false
custom_replace_values:
description: "Comma separated associated values for the item in custom_replace_keys"
required: false
root_index_jsonld:
description: "Replace ld+json data in the root index file"
required: false
breadcrumb_root_index_jsonld:
description: "Add breadcrumb ld+json data to the root index file"
required: false
s3_bucket_name:
description: "S3 bucket name to upload static HTML files"
required: false
aws_access_key_id:
description: "AWS access key Id"
required: false
aws_secret_access_key:
description: "AWS secret access key"
required: false
aws_region:
description: "AWS region"
required: false
aws_amplify_app_id:
description: "Amplify App id"
required: false
aws_amplify_branch_name:
description: "Amplify Branch name"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.ghost_hosted_url }}
- ${{ inputs.ghost_static_host_url }}
- ${{ inputs.custom_replace_keys }}
- ${{ inputs.custom_replace_values }}
- ${{ inputs.root_index_jsonld }}
- ${{ inputs.breadcrumb_root_index_jsonld }}
- ${{ inputs.s3_bucket_name }}
- ${{ inputs.aws_access_key_id }}
- ${{ inputs.aws_secret_access_key }}
- ${{ inputs.aws_region }}
- ${{ inputs.aws_amplify_app_id }}
- ${{ inputs.aws_amplify_branch_name }}