-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
39 lines (39 loc) · 1.14 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
name: 'ApiGen Docs'
description: 'Simple Github Action Which Helps You To Generate PHP Code Documentation Website Using ApiGen'
author: 'varunsridharan'
branding:
icon: 'hard-drive'
color: 'green'
inputs:
push_to_branch:
description: 'Which Branch/Folder To Push'
default: 'gh-pages'
before_cmd:
description: 'Command To Run Before ApiGen'
default: ''
after_cmd:
description: 'Command To Run After ApiGen'
default: ''
auto_push:
description: 'if set to yes then it auto pushes latest source to current repo with the push_to_branch'
default: 'yes'
output_folder:
description: 'Custom output folder if auto_push is disabled'
default: ''
source_folder:
description: 'Custom Source Folder if auto_push is disabled'
default: ''
cached_apigen:
description: 'If set to yes then it uses cached apigen'
default: 'yes'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.push_to_branch }}
- ${{ inputs.before_cmd }}
- ${{ inputs.after_cmd }}
- ${{ inputs.auto_push }}
- ${{ inputs.output_folder }}
- ${{ inputs.source_folder }}
- ${{ inputs.cached_apigen }}