Skip to content

Commit e6a135e

Browse files
committed
Try passing parameters differently
1 parent 8933d8a commit e6a135e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/publlic-ghpages.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ jobs:
1414
- name: Generating HTML from my AsyncAPI document
1515
uses: asyncapi/cli@v3.5.2
1616
with:
17-
command: custom
18-
# full command string passed to `asyncapi <custom_command>`
19-
custom_command: >
20-
generate fromTemplate ./lobby-to-client/v1/asyncapi.yml
21-
"@asyncapi/html-template@3.3.1"
22-
--use-new-generator
23-
-o ./output
24-
--param outFilename=index.html
25-
--param singleFile=true
17+
command: generate
18+
filepath: ./lobby-to-client/v1/asyncapi.yml
19+
template: "@asyncapi/html-template@3.3.1"
20+
output: ./output
21+
parameters: >
22+
--param outFilename=index.html --param singleFile=true --use-new-generator
23+
2624
2725
- name: Deploy GH page
2826
uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)