File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - ' main'
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
612jobs :
713 build-and-deploy :
814 runs-on : ubuntu-latest
9- name : Build and deploy
1015 steps :
1116 - uses : actions/checkout@v4
17+
1218 - name : Setup node
1319 uses : actions/setup-node@v4
1420 with :
1521 node-version : 24.x
1622 cache : ' npm'
1723
18- - name : Configure Git
19- run : |
20- git config --global user.email "github-actions[bot]@users.noreply.github.com"
21- git config --global user.name "github-actions[bot]"
22-
2324 - name : Install dependencies
2425 run : npm ci
2526
2829 env :
2930 CI : false
3031
32+ - name : Setup Pages
33+ uses : actions/configure-pages@v4
34+
35+ - name : Upload artifact
36+ uses : actions/upload-pages-artifact@v3
37+ with :
38+ path : ' ./build'
39+
3140 - name : Deploy to GitHub Pages
32- run : npx gh -pages -d build
41+ uses : actions/deploy -pages@v4
You can’t perform that action at this time.
0 commit comments