File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77jobs :
88 deploy :
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+ environment :
14+ name : github-pages
915 name : Deploy to GitHub Pages
1016 runs-on : ubuntu-latest
1117 steps :
12- - uses : actions/checkout@v5
13-
14- - uses : actions/setup-node@v5
18+ - uses : actions/checkout@v6
19+
20+ - uses : actions/setup-node@v4
1521 with :
1622 node-version : 24.x
1723 cache : yarn
1824
1925 - name : Build website
2026 run : |
21- export NODE_OPTIONS=--openssl-legacy-provider
2227 yarn install --frozen-lockfile
2328 yarn build
2429
25- - name : Deploy to GitHub Pages
26- uses : peaceiris/actions-gh-pages@v3
30+ - name : Setup Pages
31+ uses : actions/configure-pages@v5
32+
33+ - name : Upload Pages artifacts
34+ uses : actions/upload-pages-artifact@v4
2735 with :
28- github_token : ${{ secrets.COMMIT_TOKEN }}
29- publish_dir : ./build
30- user_name : github-actions[bot]
31- user_email : 41898282+github- actions[bot]@users.noreply.github.com
36+ path : ' ./build '
37+
38+ - name : Deploy to GitHub Pages
39+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments