Skip to content

Commit e1f7d96

Browse files
committed
デプロイパスの修正
1 parent 8a98270 commit e1f7d96

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches:
6-
- main
6+
- main
77

88
jobs:
99
deploy:
@@ -12,20 +12,20 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15-
- name: Set up Node.js
15+
- name: Setup Node.js
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version: 20
1919

2020
- name: Install dependencies
21+
working-directory: ./frontend
2122
run: |
22-
cd frontend
2323
npm install
24+
npm install @vitejs/plugin-react --save-dev
2425
2526
- name: Build project
26-
run: |
27-
cd frontend
28-
npm run build
27+
working-directory: ./frontend
28+
run: npm run build
2929

3030
- name: Deploy to GitHub Pages
3131
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)