Skip to content

Commit

Permalink
actions: generate swagger ui for github pages (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderbottom authored Apr 11, 2023
1 parent 81ac627 commit 101459f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
- name: Copy i18n site
run: cp -R docs/i18n docs/publish

- name: Generate Swagger UI
uses: Legion2/swagger-ui-action@v1
with:
spec-file: ./docs/swagger/collections.yaml
output: ./docs/publish/docs/swagger

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 101459f

Please sign in to comment.