-
-
Notifications
You must be signed in to change notification settings - Fork 94
31 lines (27 loc) · 658 Bytes
/
docs.yml
File metadata and controls
31 lines (27 loc) · 658 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: Publish Documentation
on:
push:
branches: [main]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- uses: pnpm/action-setup@v4.0.0
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 22
cache: "pnpm"
- name: Install packages
run: pnpm install
- name: Build
run: pnpm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: docs
folder: docs