Skip to content

Commit 02475dc

Browse files
committed
create workflow dispatch action
1 parent 4dba572 commit 02475dc

File tree

9 files changed

+6282
-4
lines changed

9 files changed

+6282
-4
lines changed

dispatch/action.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "Generate Docs"
2+
3+
description: "Generate docs from markdown"
4+
5+
inputs:
6+
repo:
7+
description: "the target repo of the docs"
8+
required: true
9+
branch:
10+
description: "the target branch of the docs"
11+
required: true
12+
docs_path:
13+
description: "the path to your root documentation (without a leading slash)"
14+
required: false
15+
default: "documentation"
16+
pkg_path:
17+
description: "the path to your packages in a monorepo (without a leading slash)"
18+
required: false
19+
default: "packages"
20+
token:
21+
description: "github PAT with permissions to trigger this workflow"
22+
required: true
23+
24+
runs:
25+
using: "node12"
26+
main: "dist/action.js"

0 commit comments

Comments
 (0)