-
Notifications
You must be signed in to change notification settings - Fork 3
28 lines (24 loc) · 874 Bytes
/
ci.yaml
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
name: AsyncAPI documents processing
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
generate:
runs-on: ubuntu-latest
steps:
#"standard step" where repo needs to be checked-out first
- name: Checkout repo
uses: actions/checkout@v4
#Using another action for AsyncAPI for validation
- name: Validating AsyncAPI document
uses: WaleedAshraf/[email protected]
with:
filepath: src/main/asyncapi/network_survey_messaging.yaml
- name: Generating HTML from my AsyncAPI document
uses: asyncapi/[email protected]
with:
template: '@asyncapi/[email protected]' #In case of template from npm, because of @ it must be in quotes
filepath: src/main/asyncapi/network_survey_messaging.yaml
output: generated-html