Skip to content

feat: APIドキュメントをGitHub Pagesにデプロイ #49

feat: APIドキュメントをGitHub Pagesにデプロイ

feat: APIドキュメントをGitHub Pagesにデプロイ #49

Workflow file for this run

name: Generate API documentation
on:
push:
branches:
- main
- feature/gen-api-doc
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npx -y @redocly/cli build-docs schema.yaml -o public/redocly-static.html
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public