File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Deploy Quartz site to GitHub Pages
2-
2+
33on :
44 push :
55 branches :
66 - v4
7-
7+
88permissions :
99 contents : read
1010 pages : write
1111 id-token : write
12-
12+
1313concurrency :
1414 group : " pages"
1515 cancel-in-progress : false
16-
16+
1717jobs :
1818 build :
1919 runs-on : ubuntu-22.04
2020 steps :
21- - uses : actions/checkout@v3
21+ - uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 0 # Fetch all history for git info
24- - uses : actions/setup-node@v3
24+ - uses : actions/setup-node@v4
2525 with :
26- node-version : 20 # Update this line to use Node.js 20
26+ node-version : 22
2727 - name : Install Dependencies
2828 run : npm ci
2929 - name : Build Quartz
3030 run : npx quartz build
3131 - name : Upload artifact
32- uses : actions/upload-pages-artifact@v2
32+ uses : actions/upload-pages-artifact@v3
3333 with :
3434 path : public
35-
35+
3636 deploy :
3737 needs : build
3838 environment :
4242 steps :
4343 - name : Deploy to GitHub Pages
4444 id : deployment
45- uses : actions/deploy-pages@v2
45+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments