Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Jan 8, 2024
1 parent 4b6c281 commit 1fe6c58
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
- name: validate
uses: Shurtu-gal/github-action-for-generator@9f1451d26d8f942158f2042bac4cb89a878d4e65
uses: Shurtu-gal/github-action-for-generator@8aa45ad6744c15c825bd7b40dc8455aae1ce58e6
with:
command: validate
#In case all defaults are fine for you, just add such step
- name: Generating Markdown from my AsyncAPI document
uses: Shurtu-gal/github-action-for-generator@9f1451d26d8f942158f2042bac4cb89a878d4e65
uses: Shurtu-gal/github-action-for-generator@8aa45ad6744c15c825bd7b40dc8455aae1ce58e6
#uses: docker://asyncapi/github-action-for-generator:2.1.12

#In case you do not want to use defaults, you for example want to use different template
- name: Generating HTML from my AsyncAPI document
uses: Shurtu-gal/github-action-for-generator@9f1451d26d8f942158f2042bac4cb89a878d4e65
uses: Shurtu-gal/github-action-for-generator@8aa45ad6744c15c825bd7b40dc8455aae1ce58e6
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
with:
template: '@asyncapi/html-template@0.15.4'
filepath: docs/api/my-asyncapi.yml
Expand Down

0 comments on commit 1fe6c58

Please sign in to comment.