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 6
6
- hexo # default branch
7
7
jobs :
8
8
pages :
9
- runs-on : ubuntu 24
9
+ runs-on : ubuntu-latest
10
10
permissions :
11
11
contents : write
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v5
14
14
with :
15
15
token : ${{ secrets.GITHUB_TOKEN }}
16
- - name : Use Node.js 16 .x
17
- uses : actions/setup-node@v2
16
+ - name : Use Node.js 22 .x
17
+ uses : actions/setup-node@v4
18
18
with :
19
- node-version : ' 16 '
19
+ node-version : ' 22 '
20
20
- name : Cache NPM dependencies
21
- uses : actions/cache@v2
21
+ uses : actions/cache@v4
22
22
with :
23
23
path : node_modules
24
24
key : ${{ runner.OS }}-npm-cache
29
29
- name : Build
30
30
run : hexo generate
31
31
- name : Deploy
32
- uses : peaceiris/actions-gh-pages@v3
32
+ uses : peaceiris/actions-gh-pages@v4
33
33
with :
34
34
github_token : ${{ secrets.GITHUB_TOKEN }}
35
35
publish_branch : master # default: gh-pages
You can’t perform that action at this time.
0 commit comments