Skip to content

Commit 9cc81a1

Browse files
committed
Update GitHub Actions workflow to use latest action versions and Node.js 22
1 parent 06bc918 commit 9cc81a1

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
name: Deploy Quartz site to GitHub Pages
2-
2+
33
on:
44
push:
55
branches:
66
- v4
7-
7+
88
permissions:
99
contents: read
1010
pages: write
1111
id-token: write
12-
12+
1313
concurrency:
1414
group: "pages"
1515
cancel-in-progress: false
16-
16+
1717
jobs:
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:
@@ -42,4 +42,4 @@ jobs:
4242
steps:
4343
- name: Deploy to GitHub Pages
4444
id: deployment
45-
uses: actions/deploy-pages@v2
45+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)