-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (28 loc) · 933 Bytes
/
main.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
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Deploy the docs
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 15
- name: Install dependencies
run: npm install
- name: Build the local version of the plugin
run: npm run build
# Symlinks do not work in GitHub CI, so we need to use the `--install-links` option.
- name: Install the local version of the plugin
run: npm link && npm link --install-links typedoc-plugin-extras
- name: Build the docs
run: npx typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --footerLastModified --footerTypedocVersion src/main.ts --out docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs