File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 3232 NODE_ENV : production
3333 run : npm run build -- --mode production
3434
35- - name : Verify Build Mode
36- run : |
37- grep -r "production" dist/assets/*.js | grep "import.meta.env.MODE"
38-
39- - name : Debug .env.production file
40- run : cat .env.production || echo ".env.production not found"
41-
42- - name : Verify Build Mode in Output Files
43- run : grep -r "import.meta.env" dist/ || echo "No env variables found in built files"
44-
4535 - name : Docker build & push
4636 run : |
4737 docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import fs from "fs";
88// vite.config.ts 파일에서 alias 설정을 추가해야 합니다.
99
1010export default defineConfig ( ( { mode } : { mode : string } ) => {
11- console . log ( "mode" , mode ) ;
12-
1311 const isProduction = mode === "production" ;
1412 const keyPath = "./certs/key.pem" ;
1513 const certPath = "./certs/cert.pem" ;
You can’t perform that action at this time.
0 commit comments