Skip to content

Commit

Permalink
Update script (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
beming-dev authored Jan 11, 2025
2 parents 60ab327 + d4bd329 commit 5ad4e43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/bin/bash

set -e # 스크립트가 오류 발생 시 즉시 종료
set -e # 오류 발생 시 즉시 종료

# 디렉토리 권한 설정
sudo chmod -R 775 /home/ubuntu/frontend
sudo cd /home/ubuntu/frontend

# 디렉토리 이동
cd /home/ubuntu/frontend

# ECR 로그인
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin 294951093594.dkr.ecr.ap-northeast-2.amazonaws.com/frontend
Expand Down

0 comments on commit 5ad4e43

Please sign in to comment.