forked from cube-js/cube
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 738 Bytes
/
docs.yml
File metadata and controls
31 lines (31 loc) · 738 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: Documentation Build
on:
pull_request:
paths:
- '.github/workflows/docs.yml'
- 'docs-gen/**'
- 'docs/**'
jobs:
docs:
name: Build
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ./docs
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Restore cache
uses: actions/cache@v2
with:
path: |
node_modules
docs/node_modules
key: ${{ runner.os }}-workspace-docs-${{ matrix.node-version }}
- name: Generate API documentation
run: ./docs-gen.sh
- name: Build website
run: ./build.sh