Skip to content

Commit 8a7c41c

Browse files
authored
Update gh-pages.yml
Updated workflow to avoid GitHub's impending deprecation of Node 20
1 parent 9dd41e5 commit 8a7c41c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/gh-pages.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88

99
jobs:
1010
deploy:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-26.04
1212
steps:
1313
- name: Git checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515
with:
1616
submodules: true # Fetch Hugo themes (true OR recursive)
1717
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
@@ -24,20 +24,20 @@ jobs:
2424
extended: true
2525

2626
- name: Cache Hugo modules
27-
uses: actions/cache@v4
27+
uses: actions/cache@v6
2828
with:
2929
path: /tmp/hugo_cache
3030
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
3131
restore-keys: |
3232
${{ runner.os }}-hugomod-
3333
3434
- name: Setup Node
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@v7
3636
with:
37-
node-version: '20'
37+
node-version: '24'
3838

3939
- name: Cache dependencies
40-
uses: actions/cache@v4
40+
uses: actions/cache@v6
4141
with:
4242
path: ~/.npm
4343
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)