File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -17,28 +17,31 @@ jobs:
17
17
build :
18
18
runs-on : ubuntu-22.04
19
19
steps :
20
- - uses : actions/checkout@v3
20
+ - uses : actions/checkout@v4
21
21
with :
22
22
fetch-depth : 0 # Fetch all history for git info
23
- - uses : actions/setup-node@v3
23
+ - uses : actions/setup-node@v4
24
24
with :
25
- node-version : 18.14
25
+ node-version : 20
26
26
- name : Install Dependencies
27
27
run : npm ci
28
28
- name : Build Quartz
29
29
run : npx quartz build
30
30
- name : Upload artifact
31
- uses : actions/upload-pages-artifact@v2
31
+ uses : actions/upload-pages-artifact@v3
32
32
with :
33
33
path : public
34
34
35
35
deploy :
36
36
needs : build
37
+ permissions :
38
+ pages : write
39
+ id-token : write
37
40
environment :
38
41
name : github-pages
39
42
url : ${{ steps.deployment.outputs.page_url }}
40
43
runs-on : ubuntu-latest
41
44
steps :
42
45
- name : Deploy to GitHub Pages
43
46
id : deployment
44
- uses : actions/deploy-pages@v2
47
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments