Skip to content

Conversation

@eileen4505
Copy link

@eileen4505 eileen4505 commented May 25, 2025

1. 무엇을?

Mission-FE-Zero100 프로젝트를 AWS Amplify를 활용해 정적 웹 앱으로 배포했습니다.


2. 어떤 작업을 했나요?

  • AWS Amplify를 통해 GitHub 저장소(eileen4505/Mission-FE-Zero100) 연결
  • 배포 브랜치 week6 선택 (기존 박세렴/week6 브랜치는 한글로 인해 에러 발생)
  • Vite 프로젝트 기준에 맞춰 build 설정 적용:
    • Build command: npm run build
    • Output directory: dist
  • amplify.yml 직접 설정하여 정상적으로 build → 배포 완료

📄 사용한 amplify.yml 설정:

version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

3. 문제 해결

  • 한글 브랜치(박세렴/week6)는 Amplify에서 허용되지 않아 week7 브랜치 생성
  • 기본 설정으로는 dist/index.html 인식 안 됨 → amplify.yml 작성으로 해결

4. 스크린샷

image image

5. 웹 호스팅 주소

https://week7.do1ac43u2efwg.amplifyapp.com/


🔗 관련 이슈

fixes #90

Copy link
Member

@yezzan9 yezzan9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

마지막 과제까지 너무 수고 많으셨습니다~!
배포도 잘 되었네용!!👍🏻 최종 프로젝트까지 열심히 해봅시다🙌

Copy link
Member

@One-HyeWon One-HyeWon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

배포 확인 했습니다!! 브랜치명 문제 파악도 잘 해결하셨네용
마지막까지 수고 많으셨어요~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants