Skip to content

Commit 32ac63d

Browse files
committed
chore: adjust workflows and add website deploying workflow
1 parent 3dc21eb commit 32ac63d

5 files changed

Lines changed: 43 additions & 4 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "Deploy website to github pages"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- chore/deploy-website-and-andjust-docs
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-and-deploy:
12+
name: Build and deploy to github pages
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [22.x]
18+
19+
permissions:
20+
contents: write
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
28+
- name: Install packages
29+
run: yarn install --frozen-lockfile
30+
31+
- name: Build packages and web
32+
run: yarn build:all
33+
34+
- name: Deploy 🚀
35+
id: deploy-gh-pages
36+
uses: JamesIves/github-pages-deploy-action@v4
37+
with:
38+
folder: apps/website/build
39+
branch: gh-pages

.github/workflows/css-processor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [20.x]
19+
node-version: [22.x]
2020

2121
steps:
2222
- uses: actions/checkout@v4

.github/workflows/performances.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [20.x]
21+
node-version: [22.x]
2222

2323
steps:
2424
- uses: actions/checkout@v4

.github/workflows/render.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [20.x]
19+
node-version: [22.x]
2020

2121
steps:
2222
- uses: actions/checkout@v4

.github/workflows/transient-render-engine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [20.x]
21+
node-version: [22.x]
2222

2323
steps:
2424
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)