File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1616
1717 strategy :
1818 matrix :
19- node-version : [20 .x]
19+ node-version : [22 .x]
2020
2121 steps :
2222 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1818
1919 strategy :
2020 matrix :
21- node-version : [20 .x]
21+ node-version : [22 .x]
2222
2323 steps :
2424 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1616
1717 strategy :
1818 matrix :
19- node-version : [20 .x]
19+ node-version : [22 .x]
2020
2121 steps :
2222 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1818
1919 strategy :
2020 matrix :
21- node-version : [20 .x]
21+ node-version : [22 .x]
2222
2323 steps :
2424 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments