Skip to content

Commit

Permalink
ci: add missing token to swagger-ui-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Sep 27, 2024
1 parent 8800819 commit cef52a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-openapi-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ jobs:
with:
output: swagger-ui/${{ env.VERSION }}
spec-file: ${{ matrix.apiGroup }}.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate Swagger UI stable version
uses: Legion2/swagger-ui-action@v1
if: ${{ !endsWith( env.VERSION, '-SNAPSHOT') }}
with:
output: swagger-ui
spec-file: ${{ matrix.apiGroup }}.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit cef52a6

Please sign in to comment.