-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathaction.yml
36 lines (36 loc) · 1022 Bytes
/
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
name: 'Express AutoDocs'
description: 'A github action which automatically generates documentation for your express APIs'
inputs:
docsTitle: # title of the docs
description: 'The title of the docs created'
required: true
default: 'Documentation'
server-filepath: # id of input
description: 'The path of the file where backend server runs.'
required: true
default: 'server.js'
appName:
description: 'Name of the app variable'
required: true
default: 'app'
routerName:
description: 'Name of the router variable'
required: true
default: 'router'
outputFormat:
description: 'Static assets are generated in this format'
required: true
default: 'standard'
outputBranch:
description: 'Static assets are deployed in this branch'
required: true
default: 'express-autodocs'
outputs:
time: # id of output
description: 'The time the action completed'
runs:
using: 'node12'
main: 'src/index.js'
branding:
icon: 'book-open'
color: 'blue'