Skip to content

Commit 2c0cf27

Browse files
committed
[Fix] Change Github Actions
1 parent f3f8592 commit 2c0cf27

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/deploy-to-github-pages.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,14 @@ jobs:
1212
build-and-deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Setup node
17-
uses: actions/setup-node@v3
18-
with:
19-
node-version: 21
20-
cache: npm
21-
- name: Install dependencies
22-
run: |
23-
npm install
24-
- name: Build website
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
18+
- name: Install and Build website
2519
run: |
20+
npm ci
2621
npm run build
22+
2723
- name: Deploy to GitHub Pages
2824
uses: JamesIves/github-pages-deploy-action@v4
2925
with:

0 commit comments

Comments
 (0)