Climeeting / climeet-fe

https://www.cli-meet.com/
2 stars 2 forks source link

AWS S3, CloudFront 배포 #150

Closed piggmme closed 2 months ago

piggmme commented 2 months ago

참고: https://react-etc.vlpt.us/08.deploy-s3.html

커맨드로 배포하는 법

  1. AWS Command interface 설치
  2. 다음 CLI 를 입력

VITE_S3_ACCESS_KEY, VITE_S3_SECRET_ACCESS_KEY는 .env 에 있는 값을 사용하면 됩니다.

$ aws configure --profile climeet-fe
AWS Access Key ID [None]: ${VITE_S3_ACCESS_KEY}
AWS Secret Access Key [None]: ${VITE_S3_SECRET_ACCESS_KEY}
Default region name [None]: ap-northeast-2
Default output format [None]: json
  1. pnpm run deploy 입력하면 S3에 배포 완료됨

cc. @SUPER0214T