26 行
527 B
YAML
26 行
527 B
YAML
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 |