Skip to content

Commit 9d385b7

Browse files
committed
update workflows
1 parent bdcbb19 commit 9d385b7

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/github-static.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v6
34-
34+
3535
- name: Setup Node.js
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3737
with:
38-
cache: 'npm'
39-
node-version: '18'
38+
cache: "npm"
39+
node-version: "20"
4040

4141
- name: Install dependencies
4242
run: npm ci
@@ -47,14 +47,10 @@ jobs:
4747
- name: Setup Pages
4848
uses: actions/configure-pages@v5
4949

50-
# clean up any extraneous files that shouldn't be published
51-
- name: Remove unwanted files
52-
run: rm -rf example
53-
5450
- name: Upload artifact
5551
uses: actions/upload-pages-artifact@v4
5652
with:
57-
path: 'build'
53+
path: "build"
5854
- name: Deploy to GitHub Pages
5955
id: deployment
6056
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)