1 parent 8a98270 commit e1f7d96Copy full SHA for e1f7d96
1 file changed
.github/workflows/deploy.yml
@@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
3
on:
4
push:
5
branches:
6
- - main
+ - main
7
8
jobs:
9
deploy:
@@ -12,20 +12,20 @@ jobs:
12
- name: Checkout repository
13
uses: actions/checkout@v4
14
15
- - name: Set up Node.js
+ - name: Setup Node.js
16
uses: actions/setup-node@v4
17
with:
18
node-version: 20
19
20
- name: Install dependencies
21
+ working-directory: ./frontend
22
run: |
- cd frontend
23
npm install
24
+ npm install @vitejs/plugin-react --save-dev
25
26
- name: Build project
- run: |
27
28
- npm run build
+ run: npm run build
29
30
- name: Deploy to GitHub Pages
31
uses: peaceiris/actions-gh-pages@v3
0 commit comments