-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (35 loc) · 927 Bytes
/
docs.yml
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
32
33
34
35
name: Docs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '12'
- name: Install Typescript & TypeDoc
run: npm install -g typescript typedoc
- name: Install Package dependencies
run: npm ci
- name: Build with TypeDoc
run: |
typedoc \
--excludeNotExported \
--excludePrivate \
--excludeExternals \
--externalPattern "node_modules/**" \
--readme README.md \
--out docs \
src
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs