Skip to content

docs: workflow修正 #2

docs: workflow修正

docs: workflow修正 #2

Workflow file for this run

name: API Document Hosting
on:
push:
# paths:
# - 'reference/bookmap.yaml'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Convert YML to HTML
run: |
npm install -g redoc-cli
redoc-cli bundle reference/bookmap.yaml -o ./docs/index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs