Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Vite to GitHub Pages
on:
push:
branches:
- master
- main # main 브랜치로 변경

permissions:
contents: write
Expand All @@ -26,6 +26,8 @@ jobs:
run: npm ci

- name: Vite 프로젝트 빌드
env:
VITE_APPINSIGHTS_CONNECTION_STRING: ${{ secrets.VITE_APPINSIGHTS_CONNECTION_STRING }}
run: npm run build

- name: GitHub Pages에 배포
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ dist
dist-ssr
*.local

# Environment variables
.env
.env.local
.env.*.local

# Editor directories and files
!.vscode/extensions.json
.idea
Expand Down
10 changes: 8 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ services:
- "5173:5173"
volumes:
- ./:/app
- /app/node_modules
# 호스트에 node_modules가 없을 경우 이미지에서 설치된 종속성을
# 유지하기 위해 이름 있는 볼륨을 사용합니다.
- node_modules:/app/node_modules
environment:
- NODE_ENV=development
- NODE_ENV=development

volumes:
node_modules:
name: docker-ko-node_modules
Loading