ci: generate playground from apidoc definitions

このコミットが含まれているのは:
sinkaroid 2023-04-18 13:03:16 +07:00
コミット 9c1a4b421e
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: ABD69470B2390135
1個のファイルの変更26行の追加0行の削除

26
.github/workflows/playground.yml vendored ノーマルファイル
ファイルの表示

@ -0,0 +1,26 @@
name: Playground
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Installing dependencies
run: npm install
- name: Generating docs
run: npm run build:apidoc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: docs