File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ defaults:
2727
2828jobs :
2929 # Build job
30- build :
30+ doc- build :
3131 runs-on : ubuntu-22.04
3232 steps :
3333 - name : Checkout
3737 - name : Setup PNPM
38383939 - name : Setup Node
40- uses : actions/setup-node@v4.0.1
40+ uses : actions/setup-node@v4
4141 with :
42- node-version : 18
42+ node-version : 20
4343 check-latest : true
4444 cache : " pnpm"
4545 - name : Setup Pages
@@ -50,17 +50,17 @@ jobs:
5050 - name : Build doc
5151 run : pnpm run doc
5252 - name : Upload artifact
53- uses : actions/upload-pages-artifact@v2
53+ uses : actions/upload-pages-artifact@v3
5454 with :
5555 path : ./docs
5656
5757 # Deployment job
58- deploy :
58+ doc-deploy :
59+ needs : doc-build
5960 environment :
6061 name : github-pages
6162 url : ${{ steps.deployment.outputs.page_url }}
62- runs-on : ubuntu-22.04
63- needs : build
63+ runs-on : ubuntu-latest
6464 steps :
6565 - name : Deploy to GitHub Pages
6666 id : deployment
You can’t perform that action at this time.
0 commit comments