-
Notifications
You must be signed in to change notification settings - Fork 128
34 lines (33 loc) · 896 Bytes
/
typedoc.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
name: Deploy typedoc to GitHub Pages
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-deploy:
name: "Deploy typedoc to GitHub Pages"
runs-on: ubuntu-latest
steps:
- name: 'Check out code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Install nodejs 18'
uses: actions/setup-node@v2
with:
node-version: '18'
- name: 'Build and test'
run: |
corepack enable
yarn install
yarn typedoc
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
clean: true
single-commit: true