Skip to content

Commit 23206b7

Browse files
authored
Update blank.yml
1 parent b8ff3b0 commit 23206b7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/blank.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ permissions:
1212
jobs:
1313
deploy:
1414
runs-on: ubuntu-latest
15-
steps:
16-
- name: Swagger Codegen
17-
uses: bjerkio/swagger-codegen-action@v1
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
- name: Generate a single YAML-file
19+
uses: openapi-generators/openapitools-generator-action@v1
1820
with:
19-
args: generate
20-
-l openapi-yaml -i lb.yaml -o single-file
21-
- name: Generate Swagger UI
21+
generator: openapi-yaml
22+
- name: Generate Swagger UI from a single YAML-file
2223
uses: Legion2/swagger-ui-action@v1
2324
with:
2425
output: swagger-ui
25-
spec-file: single-file/openapi.yaml
26-
# spec-url: https://raw.githubusercontent.com/rain0r/listenbrainz-openapi/refs/heads/master/lb.yaml
26+
spec-file: openapi-yaml-client/openapi.yaml
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
- name: Deploy to GitHub Pages
2929
uses: peaceiris/actions-gh-pages@v4

0 commit comments

Comments
 (0)