Skip to content

APIの仕様書を作成した #1

APIの仕様書を作成した

APIの仕様書を作成した #1

Workflow file for this run

name: Publish API Specification
on:
pull_request:
branches:
- main
types:
- closed
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Generate Swagger UI
uses: Legion2/swagger-ui-action@v1
with:
output: swagger-ui
spec-file: ./api/openapi.yaml
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: kitcc-library-api-doc
directory: swagger-ui
branch: main