Skip to content

Commit

Permalink
ci: add asyncapi validation job
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed Feb 9, 2023
1 parent 589da31 commit 8b6282f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
- name: Validate asyncAPI document
uses: WaleedAshraf/asyncapi-github-action@v0
with:
filepath: './docs/async-api/async-api.yml'
- name: Generating HTML from AsyncAPI document
uses: docker://asyncapi/github-action-for-generator:2.0.0
with:
Expand Down
1 change: 1 addition & 0 deletions docs/async-api/async-api.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
asyncapi: 2.0.0
info:
title: Digital Twins Event Gateway
version: '1.0.0'
description: The Gateway between Azure Digital Twins and the application microservices.
license:
name: MIT
Expand Down

0 comments on commit 8b6282f

Please # to comment.