Skip to content

Commit

Permalink
ci: add a new job in next.js workflow to build a redoc api documentat…
Browse files Browse the repository at this point in the history
…ion page
  • Loading branch information
m-benamor committed Sep 27, 2024
1 parent 5ee7ed6 commit cb81663
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 41 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ jobs:
with:
path: ./out

build_redoc:
runs-on: ubuntu-latest
name: Build redoc
steps:
- name: Checkout
uses: actions/checkout@v4
- name: build doc
run: npx @redocly/cli build-docs https://bitbucket.org/medicalinformatics/mainzelliste/raw/development/resources/Mainzelliste.OpenApi.Spec.yaml -o openapi/mainzelliste-api.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out/openapi

# Deployment job
deploy:
environment:
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/redoc.yml

This file was deleted.

15 changes: 11 additions & 4 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb81663

Please sign in to comment.