Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate document for todo-app
name: Build and Deploy

on:
push:
Expand All @@ -17,12 +17,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate Swagger UI
- name: Generate Swagger UI for Todo App
uses: Legion2/swagger-ui-action@v1
with:
output: public/todo-app
spec-file: ./todo-app/openapi.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Swagger UI for Tickets API
uses: Legion2/swagger-ui-action@v1
with:
output: public/tickets
spec-file: ./tickets/openapi.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions tickets/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Tickets application API specification

Swagger UI:
<https://dal-lab.github.io/openapi-sample/tickets>