forked from motion-canvas/motion-canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 768 Bytes
/
docs.yml
File metadata and controls
30 lines (27 loc) · 768 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
name: Deploy Documentation to GitHub Pages
on: workflow_dispatch
env:
HUSKY: 0
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npx lerna run build
- run: npx lerna run bundle
- run: npm run examples:build
- run: npm run ui:showcase
- run: npm run docs:build
env:
NODE_OPTIONS: "--max-old-space-size=8192"
- uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./packages/docs/build
external_repository: motion-canvas/motion-canvas.github.io