-
Notifications
You must be signed in to change notification settings - Fork 32
42 lines (33 loc) · 974 Bytes
/
pages-deploy.yml
File metadata and controls
42 lines (33 loc) · 974 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
32
33
34
35
36
37
38
39
40
41
42
name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v5
with:
submodules: recursive
- name: Enable Corepack
run: corepack enable
- name: Use Node.js 💻
uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: yarn
- name: Install Dependencies 📦
run: yarn install --immutable
- name: Build Modules 🔧
run: yarn workspaces foreach -ptW --from "./src/{bundles,tabs}/*" run build
- name: Build All Docs
run: yarn build:docs
- name: include java json
run: cp -r src/java build
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build # The folder the action should deploy.