Skip to content

Commit 753826c

Browse files
author
Julien CAFFET
committed
Add CI/CD
1 parent c7cdcee commit 753826c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/deploy-frontend.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
PRODUCT: wallet
2424
APPLICATION: frontend
2525
AWS_DEFAULT_REGION: eu-west-1
26-
BUILD_DIR: frontend/build
26+
BUILD_DIR: ./frontend/build
2727

2828
steps:
2929
- uses: actions/checkout@v4
@@ -74,7 +74,6 @@ jobs:
7474
run: |
7575
cd frontend
7676
npm run build --if-present
77-
ls -la
7877
7978
- name: Configure AWS credentials
8079
uses: aws-actions/configure-aws-credentials@v4

frontend/vite.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ import react from '@vitejs/plugin-react'
55
import { defineConfig } from 'vite'
66

77
export default defineConfig({
8-
plugins: [react()]
8+
plugins: [react()],
9+
build: {
10+
outDir: 'build',
11+
}
912
})

0 commit comments

Comments
 (0)