-
-
Notifications
You must be signed in to change notification settings - Fork 28
31 lines (29 loc) · 674 Bytes
/
docs.yaml
File metadata and controls
31 lines (29 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Doc Build
on:
push:
branches:
- master
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Run install
uses: borales/actions-yarn@v4
with:
dir: js
cmd: install # will run `yarn install` command
- name: Build production bundle
uses: borales/actions-yarn@v4
with:
dir: js
cmd: build:doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./js/doc/