generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
61 lines (60 loc) · 1.94 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
60
61
name: "Process Content"
description: "Processes new content to be created on Trybe"
inputs:
token:
description: "The Github Token for checkout on repo"
required: true
apiKey:
description: "The Key for access on Trybe Api"
required: true
chapterApiURL:
description: "Trybe Application Chapter env URL to access"
required: true
versionApiURL:
description: "Trybe Application Version env URL to access"
required: true
applicationHealthApiURL:
description: "Heroku Trybe Application env URL to health check"
required: true
contentPath:
description: "The directory path of content files to be processed"
required: true
assetPath:
description: "The directory path of asset files to be processed"
required: true
awsAccessKey:
description: "The aws key to authenticate via sdk"
required: true
awsSecret:
description: "The aws secret to authenticate via sdk"
required: true
bucketName:
description: "The aws bucket name for uploading assets"
required: true
pullRequestMergedAt:
description: "Time stamp data of when the PR was merged"
required: true
pullRequestMergeCommitId:
description: "Commit sha from merge that triggered the action"
required: true
pullRequestId:
description: "Pull request number that triggered the action"
required: true
chunkSize:
description: "Size of group of files to be sent to chapter creation"
required: true
intervalBetweenChunks:
description: "Interval in milliseconds between each group of chapter creation requests"
required: true
healthCheckInterval:
description: "Interval in milliseconds between each retry on content api health_check"
required: false
maxServiceRetry:
description: "Maximum of retries action would be doing to content api to check if it is up"
required: false
outputs:
result:
description: "The message to output"
runs:
using: "node12"
main: "dist/index.js"