File tree Expand file tree Collapse file tree 2 files changed +8397
-5919
lines changed Expand file tree Collapse file tree 2 files changed +8397
-5919
lines changed Original file line number Diff line number Diff line change 1+ name : Website
2+ on :
3+ push :
4+ branches :
5+ - master
6+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+ # Allow one concurrent deployment
12+ concurrency :
13+ group : " pages"
14+ cancel-in-progress : true
15+ jobs :
16+ deploy :
17+ environment :
18+ name : github-pages
19+ url : ${{ steps.deployment.outputs.page_url }}
20+ runs-on : ubuntu-latest
21+ name : deploy website
22+ steps :
23+ - name : Checkout the repository
24+ uses : actions/checkout@v4
25+ - name : Install pnpm
26+ uses : pnpm/action-setup@v2
27+ with :
28+ version : 9
29+ - name : Install Node.js
30+ uses : actions/setup-node@v4
31+ with :
32+ node-version : 22
33+ cache : ' pnpm'
34+ - name : Install dependencies
35+ run : pnpm install
36+ - name : Install website dependencies
37+ run : pnpm install
38+ working-directory : ./website
39+ - name : Build website
40+ run : pnpm build
41+ working-directory : ./website
42+ - name : Setup Pages
43+ uses : actions/configure-pages@v2
44+ - name : Upload artifact
45+ uses : actions/upload-pages-artifact@v1
46+ with :
47+ path : ' ./website/build'
48+ - name : Deploy to GitHub Pages
49+ id : deployment
50+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments