Skip to content

Commit 597da2b

Browse files
committed
ci: update NodeJS version
Signed-off-by: chris1320 <chris1320is@protonmail.com>
1 parent debce5e commit 597da2b

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.github/workflows/deploy.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
push:
5+
branches:
6+
- main
77

88
permissions:
9-
contents: read
10-
pages: write
11-
id-token: write
9+
contents: read
10+
pages: write
11+
id-token: write
1212

1313
concurrency:
14-
group: "pages"
15-
cancel-in-progress: false
14+
group: "pages"
15+
cancel-in-progress: false
1616

1717
jobs:
18-
build:
19-
runs-on: ubuntu-22.04
20-
steps:
21-
- uses: actions/checkout@v3
22-
with:
23-
repository: "Chris1320/SetupGuides-serve"
24-
submodules: true
25-
fetch-depth: 0 # Fetch all history for git info
26-
- uses: actions/setup-node@v3
27-
with:
28-
node-version: 18.14
29-
- name: Update submodules # Always get the latest contents
30-
run: |
31-
git submodule update --init --recursive --remote -f
32-
- name: Install Dependencies
33-
run: npm ci
34-
- name: Build Quartz
35-
run: npx quartz build
36-
- name: Upload artifact
37-
uses: actions/upload-pages-artifact@v2
38-
with:
39-
path: public
18+
build:
19+
runs-on: ubuntu-22.04
20+
steps:
21+
- uses: actions/checkout@v3
22+
with:
23+
repository: "Chris1320/SetupGuides-serve"
24+
submodules: true
25+
fetch-depth: 0 # Fetch all history for git info
26+
- uses: actions/setup-node@v4
27+
with:
28+
node-version: 22.x
29+
- name: Update submodules # Always get the latest contents
30+
run: |
31+
git submodule update --init --recursive --remote -f
32+
- name: Install Dependencies
33+
run: npm ci
34+
- name: Build Quartz
35+
run: npx quartz build
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v2
38+
with:
39+
path: public
4040

41-
deploy:
42-
needs: build
43-
environment:
44-
name: github-pages
45-
url: ${{ steps.deployment.outputs.page_url }}
46-
runs-on: ubuntu-latest
47-
steps:
48-
- name: Deploy to GitHub Pages
49-
id: deployment
50-
uses: actions/deploy-pages@v2
41+
deploy:
42+
needs: build
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)