-
Notifications
You must be signed in to change notification settings - Fork 29
42 lines (33 loc) · 1 KB
/
pages-deploy.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
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@v4
with:
submodules: recursive
- name: Use Node.js 💻
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install dependencies (apt)
run: |
sudo apt-get update && \
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
- name: Install Dependencies 📦
run: yarn install --frozen-lockfile
- name: Build Modules 🔧
run: yarn build --tsc --lint
- name: include java json
run: cp -r src/java-packages build
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build # The folder the action should deploy.